From e7d91a508f19f71566723318e264417c12d011f1 Mon Sep 17 00:00:00 2001 From: KATO Takenori Date: Wed, 27 Jan 1999 08:22:08 +0000 Subject: [PATCH] Initialize the member atr_buffer. Pointed out by: Akio Morita --- sys/pc98/pc98/syscons.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/pc98/pc98/syscons.c b/sys/pc98/pc98/syscons.c index bfce06877b62..97ac44c69511 100644 --- a/sys/pc98/pc98/syscons.c +++ b/sys/pc98/pc98/syscons.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: syscons.c,v 1.108 1999/01/18 14:48:34 kato Exp $ + * $Id: syscons.c,v 1.109 1999/01/19 12:41:26 kato Exp $ */ #include "sc.h" @@ -4015,6 +4015,9 @@ init_scp(scr_stat *scp) scp->status = 0; scp->mode = initial_video_mode; scp->scr_buf = NULL; +#ifdef PC98 + scp->atr_buf = NULL; +#endif if (info.vi_flags & V_INFO_GRAPHICS) { scp->status |= GRAPHICS_MODE; scp->xpixel = info.vi_width;