--- 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 << " ";