Uwe Bonnes : gdi: Show hatch brush FIXME only once.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Feb 9 05:48:15 CST 2006


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

Author: Uwe Bonnes <bon at elektron.ikp.physik.tu-darmstadt.de>
Date:   Thu Feb  9 12:22:09 2006 +0100

gdi: Show hatch brush FIXME only once.

---

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

diff --git a/dlls/gdi/pen.c b/dlls/gdi/pen.c
index 0e4d686..684a81d 100644
--- a/dlls/gdi/pen.c
+++ b/dlls/gdi/pen.c
@@ -154,8 +154,11 @@ HPEN WINAPI ExtCreatePen( DWORD style, D
             return 0;
         }
 
-	if (brush->lbHatch && ((brush->lbStyle == BS_SOLID) || (brush->lbStyle == BS_HOLLOW)))
-	    FIXME("Hatches not implemented\n");	
+        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");
+        }
     }
     else
     {




More information about the wine-cvs mailing list