1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/x11-toolkits/iv/files/patch-cb

13 lines
429 B
Plaintext
Raw Normal View History

--- src/bin/ibuild/ibcatalog.c.org Wed Sep 9 07:36:27 1992
+++ src/bin/ibuild/ibcatalog.c Sun Jan 23 20:03:11 2000
@@ -614,7 +614,8 @@
graylevel = CalcGrayLevel(data[0]);
}
} else if (graylevel == -1) {
- for (int i = 0; in >> _buf && i < patternHeight; i++) {
+ int i;
+ for (i = 0; in >> _buf && i < patternHeight; i++) {
if (_buf[0] == '>' || sscanf(_buf, "%x", &data[i]) != 1) {
break;
}