From 1c3e81bf5e930f7c3f68b6850d1d1fbdd161847c Mon Sep 17 00:00:00 2001 From: Krzysztof Kotlenga Date: Fri, 7 Nov 2008 12:07:10 +0100 Subject: [PATCH] winex11: Make pens of width = 1 scalable. --- dlls/winex11.drv/pen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winex11.drv/pen.c b/dlls/winex11.drv/pen.c index 96d90434f5c..cd29294968c 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;