Module: wine Branch: master Commit: 1c3e81bf5e930f7c3f68b6850d1d1fbdd161847c URL: http://source.winehq.org/git/wine.git/?a=commit;h=1c3e81bf5e930f7c3f68b6850d...
Author: Krzysztof Kotlenga pocek@users.sf.net Date: Fri Nov 7 12:07:10 2008 +0100
winex11: Make pens of width = 1 scalable.
---
dlls/winex11.drv/pen.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/pen.c b/dlls/winex11.drv/pen.c index 96d9043..cd29294 100644 --- a/dlls/winex11.drv/pen.c +++ b/dlls/winex11.drv/pen.c @@ -71,7 +71,7 @@ HPEN X11DRV_SelectPen( X11DRV_PDEVICE *physDev, HPEN hpen ) physDev->pen.linejoin = logpen.lopnStyle & PS_JOIN_MASK;
physDev->pen.width = logpen.lopnWidth.x; - if ((logpen.lopnStyle & PS_GEOMETRIC) || (physDev->pen.width > 1)) + if ((logpen.lopnStyle & PS_GEOMETRIC) || (physDev->pen.width >= 1)) { physDev->pen.width = X11DRV_XWStoDS( physDev, physDev->pen.width ); if (physDev->pen.width < 0) physDev->pen.width = -physDev->pen.width;