This commit is contained in:
dborth 2010-10-27 22:09:23 +00:00
parent e817a7bacb
commit a284aa55a8

View File

@ -289,9 +289,12 @@ void GuiKeyboard::Update(GuiTrigger * t)
keySpace->SetState(STATE_SELECTED, t->chan);
}
else if(keyBack->GetState() == STATE_CLICKED)
{
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)