mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-01 08:25:18 +01:00
bugfix
This commit is contained in:
parent
887f39c835
commit
deb8ae68a1
@ -290,8 +290,11 @@ void GuiKeyboard::Update(GuiTrigger * t)
|
||||
}
|
||||
else if(keyBack->GetState() == STATE_CLICKED)
|
||||
{
|
||||
kbtextstr[strlen(kbtextstr)-1] = 0;
|
||||
kbText->SetText(GetDisplayText(kbtextstr));
|
||||
if(strlen(kbtextstr) > 0)
|
||||
{
|
||||
kbtextstr[strlen(kbtextstr)-1] = 0;
|
||||
kbText->SetText(GetDisplayText(kbtextstr));
|
||||
}
|
||||
keyBack->SetState(STATE_SELECTED, t->chan);
|
||||
}
|
||||
else if(keyShift->GetState() == STATE_CLICKED)
|
||||
|
Loading…
Reference in New Issue
Block a user