diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-07-15 14:08:40 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-07-15 14:08:40 +0200 |
commit | 66e0fdd5369bd804e9147e32a1a043559f2b5e9d (patch) | |
tree | 2553375acc15cf83e0d773858493d758f62212ef /src/gperf_unfold_key_conv.py | |
parent | 0e4c1c1dd3dd4271e54a7305699c303b629fa915 (diff) | |
parent | 9b2a64e0f1cd115b0091c2b57ad938ec0f7bab4d (diff) |
Merge branch 'release/debian/6.3.0-1'debian/6.3.0-1
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 |