From 895adf52f33965f806d34fd457958797152fa922 Mon Sep 17 00:00:00 2001 From: Jean-Yves Lamoureux Date: Sat, 11 Feb 2006 15:46:51 +0000 Subject: [PATCH] * Fixed bug in events with GL driver --- src/event.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/event.c b/src/event.c index 8307c58..3c6c550 100644 --- a/src/event.c +++ b/src/event.c @@ -769,6 +769,7 @@ static unsigned int _lowlevel_event(void) event |= CACA_EVENT_KEY_PRESS; event |= gl_key; gl_key = 0; + return event; } if(gl_special_key != 0) @@ -796,7 +797,7 @@ static unsigned int _lowlevel_event(void) default: return CACA_EVENT_NONE; } } - return event; + return CACA_EVENT_NONE; } else #endif