Commit d7cde7f6 authored by hybrid's avatar hybrid

Reduce if-check

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2340 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 64bbdf43
...@@ -371,10 +371,8 @@ bool CGUIEditBox::processKey(const SEvent& event) ...@@ -371,10 +371,8 @@ bool CGUIEditBox::processKey(const SEvent& event)
return false; return false;
} }
} }
// default keyboard handling // default keyboard handling
else
if (!event.KeyInput.Control)
switch(event.KeyInput.Key) switch(event.KeyInput.Key)
{ {
case KEY_END: case KEY_END:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment