From 0889bf47994c66cdcab25dfe73ce193f78b01370 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 13 Mar 2006 17:49:04 +0000 Subject: [PATCH] * Fixed an uninitialised variable in the event queue handling. --- caca/caca.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/caca/caca.c b/caca/caca.c index 2c09cd2..cf96c5e 100644 --- a/caca/caca.c +++ b/caca/caca.c @@ -76,6 +76,9 @@ caca_t * caca_attach(cucul_t * qq) kk->events.autorepeat_ticks = 0; kk->events.last_key = 0; #endif +#if defined(USE_SLANG) || defined(USE_NCURSES) || defined(USE_CONIO) + kk->events.queue = 0; +#endif kk->timer.last_sec = 0; kk->timer.last_usec = 0;