gdiplus: Limit fixme output.
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index f024d7c..a29d3a1 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -1200,20 +1200,26 @@
GpStatus WINGDIPAPI GdipRestoreGraphics(GpGraphics *graphics, GraphicsState state)
{
+ static int calls;
+
if(!graphics)
return InvalidParameter;
- FIXME("graphics state not implemented\n");
+ if(!(calls++))
+ FIXME("graphics state not implemented\n");
return NotImplemented;
}
GpStatus WINGDIPAPI GdipSaveGraphics(GpGraphics *graphics, GraphicsState *state)
{
+ static int calls;
+
if(!graphics || !state)
return InvalidParameter;
- FIXME("graphics state not implemented\n");
+ if(!(calls++))
+ FIXME("graphics state not implemented\n");
return NotImplemented;
}
diff --git a/dlls/gdiplus/pen.c b/dlls/gdiplus/pen.c
index b088ac9..3026d52 100644
--- a/dlls/gdiplus/pen.c
+++ b/dlls/gdiplus/pen.c
@@ -29,6 +29,8 @@
static DWORD gdip_to_gdi_dash(GpDashStyle dash)
{
+ static int calls;
+
switch(dash){
case DashStyleSolid:
return PS_SOLID;
@@ -41,7 +43,8 @@
case DashStyleDashDotDot:
return PS_DASHDOTDOT;
case DashStyleCustom:
- FIXME("DashStyleCustom not implemented\n");
+ if(!(calls++))
+ FIXME("DashStyleCustom not implemented\n");
return PS_SOLID;
default:
ERR("Not a member of GpDashStyle enumeration\n");