diff options
Diffstat (limited to 'engines/bladerunner/ui/ui_input_box.cpp')
-rw-r--r-- | engines/bladerunner/ui/ui_input_box.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/bladerunner/ui/ui_input_box.cpp b/engines/bladerunner/ui/ui_input_box.cpp index 0b067f6608..fb46ec8d34 100644 --- a/engines/bladerunner/ui/ui_input_box.cpp +++ b/engines/bladerunner/ui/ui_input_box.cpp @@ -97,8 +97,7 @@ void UIInputBox::handleKeyUp(const Common::KeyState &kbd) { } } -bool UIInputBox::charIsValid(const Common::KeyState &kbd) -{ +bool UIInputBox::charIsValid(const Common::KeyState &kbd) { return kbd.ascii >= ' ' && kbd.ascii != '<' && kbd.ascii != '>' |