diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/wince/CEActions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/wince/CEActions.cpp b/backends/wince/CEActions.cpp index 367671ac5d..7770cd278c 100644 --- a/backends/wince/CEActions.cpp +++ b/backends/wince/CEActions.cpp @@ -61,7 +61,7 @@ CEActions::CEActions(OSystem_WINCE3 *mainSystem, GameDetector &detector) : _hide_toolbar_needed(false) { int i; - bool is_simon = (strcmp(detector._targetName.c_str(), "simon") == 0); + bool is_simon = (strncmp(detector._targetName.c_str(), "simon", 5) == 0); bool is_sword1 = (detector._targetName == "sword1"); bool is_sword2 = (strcmp(detector._targetName.c_str(), "sword2") == 0); bool is_queen = (detector._targetName == "queen"); @@ -260,4 +260,4 @@ bool CEActions::needsHideToolbarMapping() { return (_action_mapping[ACTION_HIDE] == 0); } -CEActions *CEActions::_instance = NULL;
\ No newline at end of file +CEActions *CEActions::_instance = NULL; |