1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/x11-toolkits/iv/files/patch-bz
1999-12-29 07:47:39 +00:00

18 lines
585 B
Plaintext

--- src/bin/doc/Keymap.c.orig Tue Dec 28 23:21:41 1999
+++ src/bin/doc/Keymap.c Tue Dec 28 23:22:00 1999
@@ -105,12 +105,12 @@
) {
_viewer->ref();
ItemView* view = _viewer->focus();
- long count = _info->count();
+ long count = _info->count(), i;
int key = s[0];
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;