diff options
Diffstat (limited to 'engines/sherlock')
-rw-r--r-- | engines/sherlock/user_interface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/user_interface.cpp b/engines/sherlock/user_interface.cpp index 30d79aa1c9..e7e7981966 100644 --- a/engines/sherlock/user_interface.cpp +++ b/engines/sherlock/user_interface.cpp @@ -414,8 +414,8 @@ void UserInterface::handleInput() { _infoFlag = true; clearInfo(); - if (_help != -1 && (scene._bgShapes[_bgFound]._description[0] != 32 && - scene._bgShapes[_bgFound]._description[0])) + if (_help != -1 && !scene._bgShapes[_bgFound]._description.empty() + && scene._bgShapes[_bgFound]._description[0] != ' ') screen.print(Common::Point(0, INFO_LINE + 1), INFO_FOREGROUND, scene._bgShapes[_bgFound]._description.c_str()); |