diff options
Diffstat (limited to 'source/gui.c')
-rw-r--r-- | source/gui.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source/gui.c b/source/gui.c index 5e31ac5..57acbe0 100644 --- a/source/gui.c +++ b/source/gui.c @@ -820,6 +820,9 @@ int GUI_InputName(const char *prompt, const char *ext, char name[], int maxlen) name[0] = 0; + SK_SetSticky(SK_SHIFT, FALSE); + SK_SetSticky(SK_SYMBOL, FALSE); + while(!done) { FB_StartFrame(&upper, NULL); @@ -897,6 +900,9 @@ int GUI_InputName(const char *prompt, const char *ext, char name[], int maxlen) } } + SK_SetSticky(SK_SHIFT,DSSPEC_Config[DSSPEC_STICKY_SHIFT]); + SK_SetSticky(SK_SYMBOL,DSSPEC_Config[DSSPEC_STICKY_SHIFT]); + return accept; } @@ -927,6 +933,9 @@ int GUI_Input(const char *prompt, char text[], int maxlen) text[0] = 0; + SK_SetSticky(SK_SHIFT, FALSE); + SK_SetSticky(SK_SYMBOL, FALSE); + while(!done) { FB_StartFrame(&upper, NULL); @@ -1006,6 +1015,9 @@ int GUI_Input(const char *prompt, char text[], int maxlen) } } + SK_SetSticky(SK_SHIFT,DSSPEC_Config[DSSPEC_STICKY_SHIFT]); + SK_SetSticky(SK_SYMBOL,DSSPEC_Config[DSSPEC_STICKY_SHIFT]); + return accept; } |