From 3ed154f80f46feff71c2f485e2ba29c0040256e7 Mon Sep 17 00:00:00 2001 From: Nicolas Bacca Date: Tue, 24 Feb 2004 22:06:21 +0000 Subject: Fix monkey detection svn-id: r13033 --- backends/wince/wince-sdl.cpp | 3 +-- 1 file changed, 1 insertion(+), 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); } -- cgit v1.2.3