summaryrefslogtreecommitdiff
path: root/japanese/iv/files/patch-bu
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/iv/files/patch-bu')
-rw-r--r--japanese/iv/files/patch-bu19
1 files changed, 19 insertions, 0 deletions
diff --git a/japanese/iv/files/patch-bu b/japanese/iv/files/patch-bu
new file mode 100644
index 000000000000..59c606e1e0da
--- /dev/null
+++ b/japanese/iv/files/patch-bu
@@ -0,0 +1,19 @@
+--- src/bin/doc/Keymap.c.org Sat Apr 11 14:29:37 1992
++++ src/bin/doc/Keymap.c Mon Jan 3 14:45:40 2000
+@@ -103,6 +103,7 @@
+ _viewer != nil
+ && e.type() == Event::key && e.mapkey(s, sizeof(s)) > 0
+ ) {
++ long i;
+ _viewer->ref();
+ ItemView* view = _viewer->focus();
+ long count = _info->count();
+@@ -110,7 +111,7 @@
+ if (key < 0) {
+ key += 256;
+ }
+- for (long i = 0; i < count; ++i) {
++ for (i = 0; i < count; ++i) {
+ DocKeymapInfo& info = _info->item_ref(i);
+ if (info._key == key) {
+ boolean pending_repair;