diff --git a/src/platform/wii/libwiigui/gui_keyboard.cpp b/src/platform/wii/libwiigui/gui_keyboard.cpp index b3d26c8..42c3d07 100644 --- a/src/platform/wii/libwiigui/gui_keyboard.cpp +++ b/src/platform/wii/libwiigui/gui_keyboard.cpp @@ -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) diff --git a/src/platform/wii/menu.cpp b/src/platform/wii/menu.cpp index 91a00f5..7a868cf 100644 --- a/src/platform/wii/menu.cpp +++ b/src/platform/wii/menu.cpp @@ -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;