winemac: Add debug tracing for queried icon size.

This commit is contained in:
Ken Thomases 2013-04-05 03:34:16 -05:00 committed by Alexandre Julliard
parent b6fdba7873
commit 787a937ed8
1 changed files with 1 additions and 0 deletions

View File

@ -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);