aboutsummarylogtreecommitdiffstats
path: root/x.c
diff options
context:
space:
mode:
authorIvan Tham2020-01-18 15:52:25 +0800
committerHiltjo Posthuma2020-01-18 14:21:50 +0100
commitaaffcb3e0eb1fd5d92d584c683d496f992afb494 (patch)
tree915a1fa761ce1c7a4d5616a35f6ff03c225f1362 /x.c
parent689f65faa8da09d1ee4812beabd38ff71b1af3e0 (diff)
downloadaur-aaffcb3e0eb1fd5d92d584c683d496f992afb494.tar.gz
Increase XmbLookupString buffer
Current buffer is too short to input medium to long sentences from IME. Input with longer text will show the wrong input, taking 64 instead of 32 bytes should be enough for most of the cases. Broken cases before, Chinese (taken from song 也可以) 可不可以轻轻的松开自己 Japanese (taken from bootleggers rom quote) あなたは家のように感じる
Diffstat (limited to 'x.c')
-rw-r--r--x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x.c b/x.c
index bc3ad5a4667f..e000894b33a8 100644
--- a/x.c
+++ b/x.c
@@ -1743,7 +1743,7 @@ kpress(XEvent *ev)
{
XKeyEvent *e = &ev->xkey;
KeySym ksym;
- char buf[32], *customkey;
+ char buf[64], *customkey;
int len;
Rune c;
Status status;