mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-05 00:36:57 +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();
|
scrollToBottom();
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
if (keyState.ascii >= 0 && keyState.ascii <= 127 &&
|
if (keyState.ascii <= 127 && keyState.ascii != Common::KEYCODE_TAB) {
|
||||||
keyState.ascii != Common::KEYCODE_TAB) {
|
|
||||||
if (_textInput.handleKey(keyState.ascii))
|
if (_textInput.handleKey(keyState.ascii))
|
||||||
// Text line finished, so process line
|
// Text line finished, so process line
|
||||||
textLineEntered(_textInput.getText());
|
textLineEntered(_textInput.getText());
|
||||||
|
Loading…
Reference in New Issue
Block a user