diff options
author | Strangerke | 2013-04-16 07:44:53 +0200 |
---|---|---|
committer | Strangerke | 2013-04-16 07:44:53 +0200 |
commit | 4340c103da3c369be6f065da398596761968d648 (patch) | |
tree | e4d8335fd66dc8d0d29c1739c375241ec44aad34 /engines/hopkins | |
parent | 1d778360fe3709a2836bfc6d76f6fde10e3b2d6c (diff) | |
download | scummvm-rg350-4340c103da3c369be6f065da398596761968d648.tar.gz scummvm-rg350-4340c103da3c369be6f065da398596761968d648.tar.bz2 scummvm-rg350-4340c103da3c369be6f065da398596761968d648.zip |
HOPKINS: Fix broken condition detected by Coverity
Diffstat (limited to 'engines/hopkins')
-rw-r--r-- | engines/hopkins/computer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hopkins/computer.cpp b/engines/hopkins/computer.cpp index f51e1be494..467153e4dd 100644 --- a/engines/hopkins/computer.cpp +++ b/engines/hopkins/computer.cpp @@ -864,7 +864,7 @@ void ComputerManager::getScoreName() { displayHiscoreLine(ptr, 9 * strPos + 140, 78, 1); char curChar = toupper(_vm->_events->waitKeyPress()); - if ((curChar < '0') && (curChar > 'Z')) + if ((curChar < '0') || (curChar > 'Z')) curChar = ' '; if ((curChar > '9') && (curChar < 'A')) curChar = ' '; |