From 8c997e90d916b9eee06449c9ced1266bac7d7559 Mon Sep 17 00:00:00 2001 From: nakeee Date: Tue, 20 Jan 2009 11:58:31 +0000 Subject: [PATCH] Empty kills the string:( Using IsEmpty() git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1951 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 2235d231c2..3e9f5614a4 100644 --- a/Source/Plugins/Plugin_nJoy_SDL/Src/GUI/ConfigBox.cpp +++ b/Source/Plugins/Plugin_nJoy_SDL/Src/GUI/ConfigBox.cpp @@ -306,7 +306,7 @@ void ConfigBox::ToBlank(bool ToBlank) else { for(int i = IDB_ANALOG_MAIN_X; i <= IDB_BUTTONHALFPRESS; i++) - if(GetButtonText(i).Empty()) SetButtonText(i, "-1"); + if(GetButtonText(i).IsEmpty()) SetButtonText(i, "-1"); } } //////////////////////////////////