Huw Davies : gdi32: Display the depth of a bitmap rather than the total number colors.
Alexandre Julliard
julliard at winehq.org
Wed Oct 5 18:03:57 CDT 2011
Module: wine
Branch: master
Commit: 9969b8dec1e08e5645a013627e0b696abb774fc7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9969b8dec1e08e5645a013627e0b696abb774fc7
Author: Huw Davies <huw at codeweavers.com>
Date: Wed Oct 5 09:11:20 2011 -0500
gdi32: Display the depth of a bitmap rather than the total number colors.
---
dlls/gdi32/bitmap.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/gdi32/bitmap.c b/dlls/gdi32/bitmap.c
index 9c77016..7c8fa54 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;
}
More information about the wine-cvs
mailing list