From 6fcd6c00510d4da9c72d1d44c769bb0d546ca9ef Mon Sep 17 00:00:00 2001 From: Sebastien Braun Date: Tue, 12 Oct 2010 05:16:37 +0200 Subject: Fix InputEventHandler logic bug Entered break instead of return. --- src/input/inputEventHandler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input') diff --git a/src/input/inputEventHandler.h b/src/input/inputEventHandler.h index 11e2f4e..a2e943e 100644 --- a/src/input/inputEventHandler.h +++ b/src/input/inputEventHandler.h @@ -309,7 +309,7 @@ public: switch(i.next()->handle(event, context)) { case InputEventHandlerBase::HANDLER_MATCHED: - break; + return; case InputEventHandlerBase::HANDLER_NOT_ALLOWED: context->hasBeenDenied = true; case InputEventHandlerBase::HANDLER_NOT_APPLICABLE: -- cgit v1.2.3-55-g7522