From 62ffd2023d9073e452fe2e2f50cf6b2f11224d6f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 21 Aug 2012 22:44:44 +0300 Subject: next code style changes. --- src/gui/gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/gui.cpp') diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 84a13ddba..fe6163877 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -366,8 +366,8 @@ bool Gui::handleKeyInput2() // If the key event hasn't been consumed and // tabbing is enable check for tab press and // change focus. - if (!keyEventConsumed && mTabbing - && keyInput.getActionId() == Input::KEY_GUI_TAB + if (!keyEventConsumed && mTabbing && keyInput.getActionId() + == static_cast(Input::KEY_GUI_TAB) && keyInput.getType() == gcn::KeyInput::PRESSED) { if (keyInput.isShiftPressed()) -- cgit v1.2.3-60-g2f50