mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 20:58:54 +00:00
Empty kills the string:(
Using IsEmpty() git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1951 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
68cfd3618e
commit
8c997e90d9
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ void ConfigBox::ToBlank(bool ToBlank)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
for(int i = IDB_ANALOG_MAIN_X; i <= IDB_BUTTONHALFPRESS; i++)
|
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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//////////////////////////////////
|
//////////////////////////////////
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue