From ee7ef367ff27ed2aac5d2cef5ce12dc69a093937 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Fri, 20 Mar 2009 19:34:36 +0000 Subject: [PATCH] fix for linux compile error introduced in r2691 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2697 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_nJoy_SDL/Src/GUI/ConfigBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Plugins/Plugin_nJoy_SDL/Src/GUI/ConfigBox.cpp b/Source/Plugins/Plugin_nJoy_SDL/Src/GUI/ConfigBox.cpp index 0f7ac26d88..b91edccd97 100644 --- a/Source/Plugins/Plugin_nJoy_SDL/Src/GUI/ConfigBox.cpp +++ b/Source/Plugins/Plugin_nJoy_SDL/Src/GUI/ConfigBox.cpp @@ -363,7 +363,7 @@ void ConfigBox::ToBlank(bool ToBlank) { for(int i = IDB_ANALOG_MAIN_X; i <= IDB_BUTTONHALFPRESS; i++) #ifndef _WIN32 - if(!strcmp(GetButtonText(i, j), "-1")) SetButtonText(i, "", j); + if(!strcmp(GetButtonText(i, j).ToAscii(), "-1")) SetButtonText(i, "", j); #else if(GetButtonText(i, j) == "-1") SetButtonText(i, "", j); #endif