Commit 1f9c09c6 authored by deuce's avatar deuce
Browse files

Fix input translation... default cpchar is zero.

parent d2d63358
......@@ -852,7 +852,7 @@ static int x11_event(XEvent *ev)
case XLookupChars:
if (lus == XLookupChars || ((ev->xkey.state & (Mod1Mask | ControlMask)) == 0)) {
for (i = 0; i < cnt; i++) {
ch = cpchar_from_unicode_cpoint(getcodepage(), wbuf[i], ch);
ch = cpchar_from_unicode_cpoint(getcodepage(), wbuf[i], 0);
if (ch) {
write(key_pipe[1], &ch, 1);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment