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

73 lines
2.1 KiB
Plaintext

--- src/bin/idraw/idarrow.c.org Tue Jul 14 02:46:07 1992
+++ src/bin/idraw/idarrow.c Sun Jan 23 20:28:32 2000
@@ -304,9 +304,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 << " ";
@@ -510,6 +511,7 @@
boolean PSArrowMultiLine::Definition (ostream& out) {
ArrowMultiLineComp* comp = (ArrowMultiLineComp*) GetSubject();
ArrowMultiLine* aml = comp->GetArrowMultiLine();
+ int i;
const Coord* x, *y;
int n = aml->GetOriginal(x, y);
@@ -518,7 +520,7 @@
out << "Begin " << MARK << " " << Name() << "\n";
MinGS(out);
out << MARK << " " << n << "\n";
- for (int i = 0; i < n; i++) {
+ for (i = 0; i < n; i++) {
out << x[i] << " " << y[i] << "\n";
}
out << n << " " << Name() << "\n";
@@ -557,9 +559,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 << " ";
@@ -759,6 +762,7 @@
boolean PSArrowSpline::Definition (ostream& out) {
ArrowSplineComp* comp = (ArrowSplineComp*) GetSubject();
ArrowOpenBSpline* aml = comp->GetArrowOpenBSpline();
+ int i;
const Coord* x, *y;
int n = aml->GetOriginal(x, y);
@@ -767,7 +771,7 @@
out << "Begin " << MARK << " " << Name() << "\n";
MinGS(out);
out << MARK << " " << n << "\n";
- for (int i = 0; i < n; i++) {
+ for (i = 0; i < n; i++) {
out << x[i] << " " << y[i] << "\n";
}
out << n << " " << Name() << "\n";
@@ -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 << " ";