Ken Thomases : winemac: Add debug tracing for queried icon size.

Alexandre Julliard julliard at winehq.org
Fri Apr 5 14:02:15 CDT 2013


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

Author: Ken Thomases <ken at codeweavers.com>
Date:   Fri Apr  5 03:34:16 2013 -0500

winemac: Add debug tracing for queried icon size.

---

 dlls/winemac.drv/image.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/winemac.drv/image.c b/dlls/winemac.drv/image.c
index 4228265..a39564a 100644
--- a/dlls/winemac.drv/image.c
+++ b/dlls/winemac.drv/image.c
@@ -205,6 +205,7 @@ CGImageRef create_cgimage_from_icon(HANDLE icon, int width, int height)
         if (!info.hbmColor) bm.bmHeight = max(1, bm.bmHeight / 2);
         width = bm.bmWidth;
         height = bm.bmHeight;
+        TRACE("new width %d height %d\n", width, height);
 
         DeleteObject(info.hbmColor);
         DeleteObject(info.hbmMask);




More information about the wine-cvs mailing list