mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
bf57334ca0
- The maintainer is now a committer. Reviewed by: Kim Culhan <kimc@w8hd.org>
30 lines
807 B
Plaintext
30 lines
807 B
Plaintext
--- src/bin/idraw/idcatalog.c.org Tue Sep 29 03:09:01 1992
|
|
+++ src/bin/idraw/idcatalog.c Sun Jan 23 20:29:52 2000
|
|
@@ -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;
|
|
}
|
|
@@ -730,6 +731,7 @@
|
|
static int sizepoints = 0;
|
|
static Coord* xcoords = nil;
|
|
static Coord* ycoords = nil;
|
|
+ int i;
|
|
|
|
Skip(in);
|
|
in >> n;
|
|
@@ -742,7 +744,7 @@
|
|
ycoords = new Coord[sizepoints];
|
|
}
|
|
|
|
- for (int i = 0; i < n; i++) {
|
|
+ for (i = 0; i < n; i++) {
|
|
if (_psversion < PSV_NONREDUNDANT) {
|
|
Skip(in);
|
|
}
|