From 9969b8dec1e08e5645a013627e0b696abb774fc7 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Wed, 5 Oct 2011 09:11:20 -0500 Subject: [PATCH] gdi32: Display the depth of a bitmap rather than the total number colors. --- dlls/gdi32/bitmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/gdi32/bitmap.c b/dlls/gdi32/bitmap.c index 9c7701674a0..7c8fa54f3a9 100644 --- a/dlls/gdi32/bitmap.c +++ b/dlls/gdi32/bitmap.c @@ -332,8 +332,8 @@ HBITMAP WINAPI CreateBitmapIndirect( const BITMAP *bmp ) if (bm.bmBits) SetBitmapBits( hbitmap, bm.bmHeight * bm.bmWidthBytes, bm.bmBits ); - TRACE("%dx%d, %d colors returning %p\n", bm.bmWidth, bm.bmHeight, - 1 << (bm.bmPlanes * bm.bmBitsPixel), hbitmap); + TRACE("%dx%d, bpp %d planes %d: returning %p\n", bm.bmWidth, bm.bmHeight, + bm.bmBitsPixel, bm.bmPlanes, hbitmap); return hbitmap; } -- 2.11.4.GIT