From ee0e13923fe5558e07dbdef4311d65e46bbf6399 Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Thu, 9 Feb 2006 12:22:09 +0100 Subject: [PATCH] gdi: Show hatch brush FIXME only once. --- dlls/gdi/pen.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dlls/gdi/pen.c b/dlls/gdi/pen.c index 0e4d686d938..684a81ddb21 100644 --- a/dlls/gdi/pen.c +++ b/dlls/gdi/pen.c @@ -154,8 +154,11 @@ HPEN WINAPI ExtCreatePen( DWORD style, DWORD width, 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 {