aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/wince/wince-sdl.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/wince/wince-sdl.cpp b/backends/wince/wince-sdl.cpp
index 359dcbc4a1..58227d78b1 100644
--- a/backends/wince/wince-sdl.cpp
+++ b/backends/wince/wince-sdl.cpp
@@ -315,8 +315,7 @@ void OSystem_WINCE3::update_game_settings() {
_toolbarHandler.setActive(NAME_MAIN_PANEL);
// Keyboard is active for Monkey 1 or 2
- if (_gameDetector._targetName == "monkey2" || _gameDetector._targetName == "monkeyvga" ||
- _gameDetector._targetName == "monkeyega") {
+ if (strncmp(_gameDetector._targetName.c_str(), "monkey", 6) == 0) {
_monkeyKeyboard = true;
_toolbarHandler.setActive(NAME_PANEL_KEYBOARD);
}