Huw Davies : gdi32: Print the fixme when the pen is actually hatched.

Alexandre Julliard julliard at winehq.org
Wed Mar 16 12:22:43 CDT 2011


Module: wine
Branch: master
Commit: c8c467155df53eb5e32b42484d7967c66114b0d1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c8c467155df53eb5e32b42484d7967c66114b0d1

Author: Huw Davies <huw at codeweavers.com>
Date:   Wed Mar 16 13:41:59 2011 +0000

gdi32: Print the fixme when the pen is actually hatched.

---

 dlls/gdi32/pen.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/gdi32/pen.c b/dlls/gdi32/pen.c
index 61dd0e9..425b5aa 100644
--- a/dlls/gdi32/pen.c
+++ b/dlls/gdi32/pen.c
@@ -182,7 +182,7 @@ HPEN WINAPI ExtCreatePen( DWORD style, DWORD width,
             return 0;
         }
 
-        if (brush->lbHatch && ((brush->lbStyle == BS_SOLID) || (brush->lbStyle == BS_HOLLOW)))
+        if (brush->lbHatch && ((brush->lbStyle != BS_SOLID) && (brush->lbStyle != BS_HOLLOW)))
         {
             static int fixme_hatches_shown;
             if (!fixme_hatches_shown++) FIXME("Hatches not implemented\n");




More information about the wine-cvs mailing list