Show FIXME once
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Wed Feb 8 06:28:07 CST 2006
Changelog:
dlls/gdi/pen.c:
Show FIXME about ExtCreatePen Hatches only once
With the ethernut configurator (www.ethernut.de) otherwise the console is
sprewed with FIXMEs
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/dlls/gdi/pen.c
===================================================================
RCS file: /home/wine/wine/dlls/gdi/pen.c,v
retrieving revision 1.4
diff -u -w -r1.4 pen.c
--- wine/dlls/gdi/pen.c 30 Jan 2006 18:46:57 -0000 1.4
+++ wine/dlls/gdi/pen.c 8 Feb 2006 12:22:13 -0000
@@ -121,6 +121,7 @@
{
PENOBJ * penPtr;
HPEN hpen;
+ static int fixme_hatches_shown = 0;
if ((style & PS_STYLE_MASK) == PS_USERSTYLE)
{
@@ -154,8 +155,11 @@
return 0;
}
- if (brush->lbHatch && ((brush->lbStyle == BS_SOLID) || (brush->lbStyle == BS_HOLLOW)))
+ if ((brush->lbHatch && ((brush->lbStyle == BS_SOLID) || (brush->lbStyle == BS_HOLLOW))) && ! fixme_hatches_shown)
+ {
FIXME("Hatches not implemented\n");
+ fixme_hatches_shown ++;
+ }
}
else
{
More information about the wine-patches
mailing list