* (bug 3065) fixed non-SDL X11 client crash on certain keys (e.g. XK_egrave )
This commit is contained in:
1 parent
1de9a065bf
commit
dce62fbcb4
1 file changed
+2
-2
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user