diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-06-25 09:54:19 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-06-25 09:54:19 +0200 |
commit | 49ce5df5ac9c855bef26106c3e870f391a44dce2 (patch) | |
tree | 57ec61c31f78449949c85891024ebecc19aa1242 /src/gperf_unfold_key_conv.py | |
parent | 0e4c1c1dd3dd4271e54a7305699c303b629fa915 (diff) | |
parent | 3ef49f8de6794777791fdc48ee4b73926ea51e1a (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/gperf_unfold_key_conv.py')
-rwxr-xr-x | src/gperf_unfold_key_conv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gperf_unfold_key_conv.py b/src/gperf_unfold_key_conv.py index dcd8587..34f9c2f 100755 --- a/src/gperf_unfold_key_conv.py +++ b/src/gperf_unfold_key_conv.py @@ -36,7 +36,7 @@ def parse_line(s): if r != s: return r r = re.sub(REG_GET_CODE, 'OnigCodePoint gcode = wordlist[key].code;', s) if r != s: return r - r = re.sub(REG_CODE_CHECK, 'if (code == gcode)', s) + r = re.sub(REG_CODE_CHECK, 'if (code == gcode && wordlist[key].index >= 0)', s) if r != s: return r return s |