opss
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1950 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
6730645dd8
commit
68cfd3618e
|
@ -301,12 +301,12 @@ void ConfigBox::ToBlank(bool ToBlank)
|
||||||
if(ToBlank)
|
if(ToBlank)
|
||||||
{
|
{
|
||||||
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).toAscii() == "-1") SetButtonText(i, "");
|
if(GetButtonText(i).ToAscii() == "-1") SetButtonText(i, "");
|
||||||
}
|
}
|
||||||
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).Empty()) SetButtonText(i, "-1");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//////////////////////////////////
|
//////////////////////////////////
|
||||||
|
|
Loading…
Reference in New Issue