1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/x11-toolkits/iv/files/patch-ar
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

28 lines
722 B
Plaintext

--- src/lib/IV-2_6/xpainter.c.orig Tue Oct 20 05:32:42 1992
+++ src/lib/IV-2_6/xpainter.c Sun Jan 23 18:46:22 2000
@@ -56,6 +56,7 @@
#include <OS/math.h>
#include <OS/string.h>
#include <OS/table2.h>
+#include <InterViews/_names.h>
PainterRep::PainterRep() {
display = Session::instance()->default_display();
@@ -1117,6 +1118,7 @@
}
void Painter::Polygon(Canvas* c, IntCoord x[], IntCoord y[], int n) {
+ register int i;
if (c == nil) {
return;
}
@@ -1125,7 +1127,7 @@
return;
}
register XPoint* v = AllocPts(n+1);
- for (register int i = 0; i < n; i++) {
+ for (i = 0; i < n; i++) {
Map(c, x[i], y[i], v[i].x, v[i].y);
}
if (x[i-1] != x[0] || y[i-1] != y[0]) {