some more fixes for the switch to unicode. Thanks sl1nk3.s

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3925 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
LPFaint99 2009-08-02 05:59:55 +00:00
parent 7b19632b4a
commit 6cbeeafdf1
10 changed files with 26 additions and 28 deletions

View file

@ -345,7 +345,7 @@ void PADConfigDialognJoy::ToBlank(bool ToBlank)
{
for(int i = IDB_ANALOG_MAIN_X; i <= IDB_BUTTONHALFPRESS; i++)
#ifndef _WIN32
if(!strcmp(GetButtonText(i, j).ToAscii(), "-1")) SetButtonText(i, "", j);
if(!strcmp(GetButtonText(i, j).mb_str(), "-1")) SetButtonText(i, "", j);
#else
if(GetButtonText(i, j) == wxT("-1")) SetButtonText(i, "", j);
#endif