Commit 685b931c authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

mscms: Use BOOL type where appropriate.

parent e50dfb69
...@@ -58,7 +58,7 @@ static DWORD from_profile( HPROFILE profile ) ...@@ -58,7 +58,7 @@ static DWORD from_profile( HPROFILE profile )
static DWORD from_bmformat( BMFORMAT format ) static DWORD from_bmformat( BMFORMAT format )
{ {
static int quietfixme = 0; static BOOL quietfixme = FALSE;
TRACE( "bitmap format: 0x%08x\n", format ); TRACE( "bitmap format: 0x%08x\n", format );
switch (format) switch (format)
...@@ -69,10 +69,10 @@ static DWORD from_bmformat( BMFORMAT format ) ...@@ -69,10 +69,10 @@ static DWORD from_bmformat( BMFORMAT format )
case BM_xRGBQUADS: return TYPE_ARGB_8; case BM_xRGBQUADS: return TYPE_ARGB_8;
case BM_xBGRQUADS: return TYPE_ABGR_8; case BM_xBGRQUADS: return TYPE_ABGR_8;
default: default:
if (quietfixme == 0) if (!quietfixme)
{ {
FIXME("unhandled bitmap format 0x%x\n", format); FIXME("unhandled bitmap format 0x%x\n", format);
quietfixme = 1; quietfixme = TRUE;
} }
return TYPE_RGB_8; return TYPE_RGB_8;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment