Michael Stefaniuc : oleaut32: Use wine_dbgstr_rect() to trace a RECT.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Apr 20 10:36:07 CDT 2016


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Wed Apr 20 10:35:14 2016 +0200

oleaut32: Use wine_dbgstr_rect() to trace a RECT.

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

---

 dlls/oleaut32/olepicture.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/oleaut32/olepicture.c b/dlls/oleaut32/olepicture.c
index b67563d..96c109a 100644
--- a/dlls/oleaut32/olepicture.c
+++ b/dlls/oleaut32/olepicture.c
@@ -636,8 +636,7 @@ static HRESULT WINAPI OLEPictureImpl_Render(IPicture *iface, HDC hdc,
   TRACE("(%p)->(%p, (%d,%d), (%d,%d) <- (%d,%d), (%d,%d), %p)\n",
 	This, hdc, x, y, cx, cy, xSrc, ySrc, cxSrc, cySrc, prcWBounds);
   if(prcWBounds)
-    TRACE("prcWBounds (%d,%d) - (%d,%d)\n", prcWBounds->left, prcWBounds->top,
-	  prcWBounds->right, prcWBounds->bottom);
+  TRACE("prcWBounds %s\n", wine_dbgstr_rect(prcWBounds));
 
   if(cx == 0 || cy == 0 || cxSrc == 0 || cySrc == 0){
     return CTL_E_INVALIDPROPERTYVALUE;




More information about the wine-cvs mailing list