This commit is contained in:
dborth 2010-10-27 22:07:31 +00:00
parent 30e13e2c24
commit 66eb82a4a8
2 changed files with 6 additions and 3 deletions

View File

@ -416,8 +416,11 @@ void GuiKeyboard::Update(GuiTrigger * t)
}
else if(keyBack->GetState() == STATE_CLICKED)
{
kbtextstr[strlen(kbtextstr)-1] = 0;
kbText->SetText(GetDisplayText(kbtextstr, kbtextmaxlen));
if(strlen(kbtextstr) > 0)
{
kbtextstr[strlen(kbtextstr)-1] = 0;
kbText->SetText(GetDisplayText(kbtextstr, kbtextmaxlen));
}
keyBack->SetState(STATE_SELECTED, t->chan);
}
else if(keyShift->GetState() == STATE_CLICKED)

View File

@ -20,7 +20,7 @@
#include "wiihardware.h"
#define THREAD_SLEEP 100
#define APPVERSION "1.4"
#define APPVERSION "1.5"
static GuiImageData * pointer[4];
static GuiWindow * mainWindow = NULL;