mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
f7bef7e8d2
on -current again.
13 lines
428 B
Plaintext
13 lines
428 B
Plaintext
--- src/bin/idraw/idcatalog.c.orig Tue Dec 28 22:55:59 1999
|
|
+++ src/bin/idraw/idcatalog.c Tue Dec 28 22:56:30 1999
|
|
@@ -658,7 +658,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;
|
|
}
|