mirror of
https://github.com/retro100/dosbox-wii.git
synced 2025-01-27 01:05:43 +01:00
bugfix
This commit is contained in:
parent
30e13e2c24
commit
66eb82a4a8
@ -415,9 +415,12 @@ void GuiKeyboard::Update(GuiTrigger * t)
|
|||||||
keySpace->SetState(STATE_SELECTED, t->chan);
|
keySpace->SetState(STATE_SELECTED, t->chan);
|
||||||
}
|
}
|
||||||
else if(keyBack->GetState() == STATE_CLICKED)
|
else if(keyBack->GetState() == STATE_CLICKED)
|
||||||
|
{
|
||||||
|
if(strlen(kbtextstr) > 0)
|
||||||
{
|
{
|
||||||
kbtextstr[strlen(kbtextstr)-1] = 0;
|
kbtextstr[strlen(kbtextstr)-1] = 0;
|
||||||
kbText->SetText(GetDisplayText(kbtextstr, kbtextmaxlen));
|
kbText->SetText(GetDisplayText(kbtextstr, kbtextmaxlen));
|
||||||
|
}
|
||||||
keyBack->SetState(STATE_SELECTED, t->chan);
|
keyBack->SetState(STATE_SELECTED, t->chan);
|
||||||
}
|
}
|
||||||
else if(keyShift->GetState() == STATE_CLICKED)
|
else if(keyShift->GetState() == STATE_CLICKED)
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include "wiihardware.h"
|
#include "wiihardware.h"
|
||||||
|
|
||||||
#define THREAD_SLEEP 100
|
#define THREAD_SLEEP 100
|
||||||
#define APPVERSION "1.4"
|
#define APPVERSION "1.5"
|
||||||
|
|
||||||
static GuiImageData * pointer[4];
|
static GuiImageData * pointer[4];
|
||||||
static GuiWindow * mainWindow = NULL;
|
static GuiWindow * mainWindow = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user