1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/x11-toolkits/iv/files/patch-cl
Seigo Tanimura bf57334ca0 - Update to 3.2a.
- The maintainer is now a committer.

Reviewed by:	Kim Culhan <kimc@w8hd.org>
2000-01-25 02:35:00 +00:00

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);
}