diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:49:22 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:49:22 +0000 |
commit | d568221710959cf7d783e6ff0fb80fb43a231124 (patch) | |
tree | 8d6f039393294c6ffac8533639afdebe5d68bfc1 /Xprint/ps/PsPolygon.c | |
parent | 9508a382f8a9f241dab097d921b6d290c1c3a776 (diff) |
XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1
Diffstat (limited to 'Xprint/ps/PsPolygon.c')
-rw-r--r-- | Xprint/ps/PsPolygon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Xprint/ps/PsPolygon.c b/Xprint/ps/PsPolygon.c index e1f0b9003..0cd826f43 100644 --- a/Xprint/ps/PsPolygon.c +++ b/Xprint/ps/PsPolygon.c @@ -73,6 +73,7 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************* ** ********************************************************************/ +/* $XFree86: xc/programs/Xserver/Xprint/ps/PsPolygon.c,v 1.7 2001/12/14 19:59:17 dawes Exp $ */ #include "Ps.h" #include "gcstruct.h" @@ -175,7 +176,7 @@ PsFillPolygon( } else { - pts[0].x = pPoints[i].x; pts[0].y = pPoints[i].y; + pts[0].x = pPoints[0].x; pts[0].y = pPoints[0].y; for( i=1 ; i<nPoints ; i++ ) { pts[i].x = pts[i-1].x+pPoints[i].x; |