mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-04 16:26:53 +00:00
TITANIC: Fix Coverity suggestion in CPetConversations
This commit is contained in:
parent
445e12f7ca
commit
ca05dffec5
@ -478,8 +478,7 @@ bool CPetConversations::handleKey(const Common::KeyState &keyState) {
|
||||
scrollToBottom();
|
||||
return true;
|
||||
default:
|
||||
if (keyState.ascii >= 0 && keyState.ascii <= 127 &&
|
||||
keyState.ascii != Common::KEYCODE_TAB) {
|
||||
if (keyState.ascii <= 127 && keyState.ascii != Common::KEYCODE_TAB) {
|
||||
if (_textInput.handleKey(keyState.ascii))
|
||||
// Text line finished, so process line
|
||||
textLineEntered(_textInput.getText());
|
||||
|
Loading…
Reference in New Issue
Block a user