diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-06-02 19:35:34 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-06-02 19:35:34 +0200 |
commit | 9c10d3a428f2e33d01e1ea66932d272ac731787f (patch) | |
tree | 9f0bd8ce746633353241ddad69d3fa9f187e656a /src/gperf_unfold_key_conv.py | |
parent | f42b61800a1a1b360c5ac915ec1caf34bf1fb86b (diff) |
New upstream version 6.3.0upstream/6.3.0
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 |