diff options
-rw-r--r-- | engines/wage/wage.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp index 4d66f820ec..5fa5626129 100644 --- a/engines/wage/wage.cpp +++ b/engines/wage/wage.cpp @@ -169,6 +169,9 @@ void WageEngine::processEvents() { break; case Common::KEYCODE_RETURN: + if (_inputText.empty()) + break; + processTurn(&_inputText, NULL); _inputText = ""; _gui->drawInput(); |