diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2018-05-21 15:36:12 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2018-05-21 15:36:12 +0000 |
commit | f039ebaccbc2ad4d239f01e695680bf79e5eba58 (patch) | |
tree | 65174638e1996cdfa0a0f6f797483ce132337c3d /chinese/gcin/files/patch-gtab-buf.cpp | |
parent | - Added missing dependency of www/py-django-js-asset (diff) |
Update to 2.8.6.
Notes
Notes:
svn path=/head/; revision=470554
Diffstat (limited to 'chinese/gcin/files/patch-gtab-buf.cpp')
-rw-r--r-- | chinese/gcin/files/patch-gtab-buf.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chinese/gcin/files/patch-gtab-buf.cpp b/chinese/gcin/files/patch-gtab-buf.cpp new file mode 100644 index 000000000000..60347ec00982 --- /dev/null +++ b/chinese/gcin/files/patch-gtab-buf.cpp @@ -0,0 +1,11 @@ +--- gtab-buf.cpp.orig 2018-05-21 12:35:13 UTC ++++ gtab-buf.cpp +@@ -1242,7 +1242,7 @@ gboolean gtab_pre_select_shift(KeySym key, int kbstate + // If the key(123) is not defined as gtab keys, the shift keys(!@#) should be used for punc, not preselect + int c; + char *p; +- if (p=strchr(cur_inmd->selkey, key)) { ++ if ((p=strchr(cur_inmd->selkey, key))) { + c = p - cur_inmd->selkey; + return gtab_pre_select_idx(c); + } else |