Commit f0370548 authored by Caolan McNamara's avatar Caolan McNamara Committed by Alexandre Julliard

Windows doesnt allow dashed and dotted lines > 1.

parent 9484481c
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment