summaryrefslogtreecommitdiff
path: root/src/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/gui.c b/src/gui.c
index 37a48ec..6904d33 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -23,8 +23,6 @@
Basic GUI routines
*/
-static const char ident[]="$Id$";
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@@ -41,8 +39,6 @@ static const char ident[]="$Id$";
#include "exit.h"
#include "util.h"
-static const char ident_h[]=ESPEC_GUI_H;
-
/* ---------------------------------------- MACROS
*/
@@ -400,8 +396,6 @@ const char *GUIInputString(const char *prompt, const char *orig)
strncat(buff,orig,40);
len=strlen(buff);
- SDL_EnableUNICODE(1);
-
while(!done)
{
GFXRect(0,y_pos,GFX_WIDTH,8,BLACK,TRUE);
@@ -430,7 +424,7 @@ const char *GUIInputString(const char *prompt, const char *orig)
break;
default:
- c=(unsigned char)e->key.keysym.unicode;
+ c=(unsigned char)e->key.keysym.sym;
if (len<40 && isprint(c))
{
@@ -441,8 +435,6 @@ const char *GUIInputString(const char *prompt, const char *orig)
}
}
- SDL_EnableUNICODE(0);
-
return buff;
}