[PATCH] mscms: quiet a noisy fixme [updated]

Detlef Riekenberg wine.dev at web.de
Fri Oct 17 18:03:49 CDT 2008


---
 dlls/mscms/transform.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/dlls/mscms/transform.c b/dlls/mscms/transform.c
index 2ed65d1..a795386 100644
--- a/dlls/mscms/transform.c
+++ b/dlls/mscms/transform.c
@@ -58,6 +58,7 @@ static DWORD from_profile( HPROFILE profile )
 
 static DWORD from_bmformat( BMFORMAT format )
 {
+    static int quietfixme = 0;
     TRACE( "bitmap format: 0x%08x\n", format );
 
     switch (format)
@@ -66,7 +67,11 @@ static DWORD from_bmformat( BMFORMAT format )
     case BM_BGRTRIPLETS: return TYPE_BGR_8;
     case BM_GRAY:        return TYPE_GRAY_8;
     default:
-        FIXME("unhandled bitmap format\n");
+        if (quietfixme == 0)
+        {
+            FIXME("unhandled bitmap format 0x%x\n", format);
+            quietfixme = 1;
+        }
         return TYPE_RGB_8;
     }
 }
-- 
1.5.4.3


--=-GoBylL37M238BRhQ0G/C--




More information about the wine-patches mailing list