Windows doesnt allow dashed and dotted lines > 1.

This commit is contained in:
Caolan McNamara 1999-03-10 13:58:35 +00:00 committed by Alexandre Julliard
parent 9484481c84
commit f0370548c7

View file

@ -219,7 +219,9 @@ BOOL X11DRV_SetupGCForPen( DC * dc )
}
val.background = physDev->backgroundPixel;
val.fill_style = FillSolid;
if ((physDev->pen.style!=PS_SOLID) && (physDev->pen.style!=PS_INSIDEFRAME))
if ((physDev->pen.width <= 1) &&
(physDev->pen.style != PS_SOLID) &&
(physDev->pen.style != PS_INSIDEFRAME))
{
TSXSetDashes( display, physDev->gc, 0, physDev->pen.dashes,
physDev->pen.dash_len );