aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/mi/mipolyseg.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/mi/mipolyseg.c')
-rw-r--r--xorg-server/mi/mipolyseg.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/xorg-server/mi/mipolyseg.c b/xorg-server/mi/mipolyseg.c
index bf7f0f92e..d6f18076c 100644
--- a/xorg-server/mi/mipolyseg.c
+++ b/xorg-server/mi/mipolyseg.c
@@ -22,7 +22,6 @@ Except as contained in this notice, the name of The Open Group shall not be
used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
-
Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
All Rights Reserved
@@ -65,15 +64,14 @@ SOFTWARE.
*
*****************************************************************/
-
void
-miPolySegment(DrawablePtr pDraw, GCPtr pGC, int nseg, xSegment *pSegs)
+miPolySegment(DrawablePtr pDraw, GCPtr pGC, int nseg, xSegment * pSegs)
{
int i;
- for (i=0; i<nseg; i++)
- {
- (*pGC->ops->Polylines)(pDraw, pGC, CoordModeOrigin, 2,(DDXPointPtr)pSegs);
- pSegs++;
+ for (i = 0; i < nseg; i++) {
+ (*pGC->ops->Polylines) (pDraw, pGC, CoordModeOrigin, 2,
+ (DDXPointPtr) pSegs);
+ pSegs++;
}
}