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