From abab119b6da441ac775dbabfde8a0136b4bde489 Mon Sep 17 00:00:00 2001 From: auria Date: Mon, 3 May 2010 17:41:36 +0000 Subject: [PATCH] Fixed wrong (potentially old code) that was returning an enum item from a method returning bool (and the compiler doesn't tell, stupid C++) git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5368 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/guiengine/event_handler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guiengine/event_handler.cpp b/src/guiengine/event_handler.cpp index 94dc62f7c..bb5f8d2ca 100644 --- a/src/guiengine/event_handler.cpp +++ b/src/guiengine/event_handler.cpp @@ -80,7 +80,7 @@ bool EventHandler::OnEvent (const SEvent &event) #ifdef DEBUG printf("The following message will not be printed in release mode:\n"); #else - return EVENT_BLOCK; + return true; // EVENT_BLOCK #endif printf("Level %d: %s\n", event.LogEvent.Level,event.LogEvent.Text);