diff options
author | marha <marha@users.sourceforge.net> | 2012-03-23 10:05:55 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-03-23 10:05:55 +0100 |
commit | 0f834b91a4768673833ab4917e87d86c237bb1a6 (patch) | |
tree | 363489504ed4b2d360259b8de4c9e392918e5d02 /xorg-server/hw/xwin/winpolyline.c | |
parent | fc72edebf875378459368c5383d9023730cbca54 (diff) | |
download | vcxsrv-0f834b91a4768673833ab4917e87d86c237bb1a6.tar.gz vcxsrv-0f834b91a4768673833ab4917e87d86c237bb1a6.tar.bz2 vcxsrv-0f834b91a4768673833ab4917e87d86c237bb1a6.zip |
libX11 xserver fontconfig mesa pixman xkbcomp xkeyboard-config git update
23 Mar 2012
Diffstat (limited to 'xorg-server/hw/xwin/winpolyline.c')
-rw-r--r-- | xorg-server/hw/xwin/winpolyline.c | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/xorg-server/hw/xwin/winpolyline.c b/xorg-server/hw/xwin/winpolyline.c index db9dd345b..8b7e10645 100644 --- a/xorg-server/hw/xwin/winpolyline.c +++ b/xorg-server/hw/xwin/winpolyline.c @@ -35,23 +35,19 @@ /* See Porting Layer Definition - p. 50 */ void -winPolyLineNativeGDI (DrawablePtr pDrawable, - GCPtr pGC, - int mode, - int npt, - DDXPointPtr ppt) +winPolyLineNativeGDI(DrawablePtr pDrawable, + GCPtr pGC, int mode, int npt, DDXPointPtr ppt) { - switch (pGC->lineStyle) - { + switch (pGC->lineStyle) { case LineSolid: - if (pGC->lineWidth == 0) - return miZeroLine (pDrawable, pGC, mode, npt, ppt); - else - miWideLine (pDrawable, pGC, mode, npt, ppt); - break; + if (pGC->lineWidth == 0) + return miZeroLine(pDrawable, pGC, mode, npt, ppt); + else + miWideLine(pDrawable, pGC, mode, npt, ppt); + break; case LineOnOffDash: case LineDoubleDash: - miWideDash (pDrawable, pGC, mode, npt, ppt); - break; + miWideDash(pDrawable, pGC, mode, npt, ppt); + break; } } |