From 815839d6dbe70635e98f943f63091faed7543cb0 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Mon, 1 May 2000 02:57:14 +0000 Subject: [PATCH] Fix uninitialized variable bug that, strangely, only caused occasional problems. --- v7/src/microcode/ntscreen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v7/src/microcode/ntscreen.c b/v7/src/microcode/ntscreen.c index fbcc61de4..75a97007f 100644 --- a/v7/src/microcode/ntscreen.c +++ b/v7/src/microcode/ntscreen.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: ntscreen.c,v 1.44 2000/04/20 20:49:08 cph Exp $ +$Id: ntscreen.c,v 1.45 2000/05/01 02:57:14 cph Exp $ Copyright (c) 1993-2000 Massachusetts Institute of Technology @@ -3282,9 +3282,9 @@ allocate_event (SCREEN screen, SCREEN_EVENT_TYPE type) { new_event = free_events; free_events = (free_events -> next); - (new_event -> next) = 0; n_free_events -= 1; } + (new_event -> next) = 0; if (event_queue_tail == 0) event_queue_head = new_event; else -- 2.25.1