Detlef Riekenberg : mscms: Quiet a noisy fixme.

Alexandre Julliard julliard at winehq.org
Tue Oct 21 07:07:01 CDT 2008


Module: wine
Branch: master
Commit: 991c76525fa892befe5c1fe07d5b17d8c4150b96
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=991c76525fa892befe5c1fe07d5b17d8c4150b96

Author: Detlef Riekenberg <wine.dev at web.de>
Date:   Sat Oct 18 01:03:49 2008 +0200

mscms: Quiet a noisy fixme.

---

 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;
     }
 }




More information about the wine-cvs mailing list