mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
Windows doesnt allow dashed and dotted lines > 1.
This commit is contained in:
parent
9484481c84
commit
f0370548c7
1 changed files with 3 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue