Michael Stefaniuc : uxtheme: Use wine_dbgstr_rect() to trace RECTs.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Apr 21 09:47:18 CDT 2016


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Thu Apr 21 10:46:02 2016 +0200

uxtheme: Use wine_dbgstr_rect() to trace RECTs.

Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/uxtheme/draw.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/uxtheme/draw.c b/dlls/uxtheme/draw.c
index e3d3679..730a26c 100644
--- a/dlls/uxtheme/draw.c
+++ b/dlls/uxtheme/draw.c
@@ -1747,7 +1747,7 @@ HRESULT WINAPI GetThemeBackgroundContentRect(HTHEME hTheme, HDC hdc, int iPartId
         /* If nothing was found, leave unchanged */
     }
 
-    TRACE("left:%d,top:%d,right:%d,bottom:%d\n", pContentRect->left, pContentRect->top, pContentRect->right, pContentRect->bottom);
+    TRACE("%s\n", wine_dbgstr_rect(pContentRect));
 
     return S_OK;
 }
@@ -1795,7 +1795,7 @@ HRESULT WINAPI GetThemeBackgroundExtent(HTHEME hTheme, HDC hdc, int iPartId,
         /* If nothing was found, leave unchanged */
     }
 
-    TRACE("left:%d,top:%d,right:%d,bottom:%d\n", pExtentRect->left, pExtentRect->top, pExtentRect->right, pExtentRect->bottom);
+    TRACE("%s\n", wine_dbgstr_rect(pExtentRect));
 
     return S_OK;
 }




More information about the wine-cvs mailing list