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-bl

41 lines
1.0 KiB
Plaintext
Raw Normal View History

--- src/bin/idraw/idarrow.c.orig Tue Dec 28 22:27:42 1999
+++ src/bin/idraw/idarrow.c Tue Dec 28 22:28:29 1999
@@ -304,9 +304,11 @@
if (dashpatsize <= 0) {
out << "[] " << dashoffset << " ";
} else {
+ int i;
+
out << "[";
- for (int i = 0; i < dashpatsize - 1; i++) {
+ for (i = 0; i < dashpatsize - 1; i++) {
out << dashpat[i] << " ";
}
out << dashpat[i] << "] " << dashoffset << " ";
@@ -557,9 +559,11 @@
if (dashpatsize <= 0) {
out << "[] " << dashoffset << " ";
} else {
+ int i;
+
out << "[";
- for (int i = 0; i < dashpatsize - 1; i++) {
+ for (i = 0; i < dashpatsize - 1; i++) {
out << dashpat[i] << " ";
}
out << dashpat[i] << "] " << dashoffset << " ";
@@ -806,9 +810,10 @@
if (dashpatsize <= 0) {
out << "[] " << dashoffset << " ";
} else {
+ int i;
out << "[";
- for (int i = 0; i < dashpatsize - 1; i++) {
+ for (i = 0; i < dashpatsize - 1; i++) {
out << dashpat[i] << " ";
}
out << dashpat[i] << "] " << dashoffset << " ";