* (bug 3065) fixed non-SDL X11 client crash on certain keys (e.g. XK_egrave )

This commit is contained in:
Tony J. White = 2007-03-19 21:50:42 +00:00
parent 1de9a065bf
commit dce62fbcb4

View file

@ -199,8 +199,8 @@ static const char *Q_stristr( const char *s, const char *find)
static char *XLateKey(XKeyEvent *ev, int *key) static char *XLateKey(XKeyEvent *ev, int *key)
{ {
static char buf[64]; static unsigned char buf[64];
static char bufnomod[2]; static unsigned char bufnomod[2];
KeySym keysym; KeySym keysym;
int XLookupRet; int XLookupRet;