fixed a bug in LookupString
This commit is contained in:
parent
87ee1ef07d
commit
89e23d9df0
|
@ -171,7 +171,7 @@ s48_value scx_Lookup_String(s48_value key_event) {
|
||||||
s48_value res = S48_FALSE;
|
s48_value res = S48_FALSE;
|
||||||
S48_DECLARE_GC_PROTECT(1);
|
S48_DECLARE_GC_PROTECT(1);
|
||||||
|
|
||||||
scx_extract_key_event(key_event);
|
scx_extract_key_event(key_event, &e);
|
||||||
len = XLookupString(&e, buf, 1023, &keysym_return, NULL);
|
len = XLookupString(&e, buf, 1023, &keysym_return, NULL);
|
||||||
buf[len] = 0;
|
buf[len] = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue