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

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


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

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

riched20: Use wine_dbgstr_rect() to trace a RECT.

Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/riched20/paint.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/riched20/paint.c b/dlls/riched20/paint.c
index f893061..8580539 100644
--- a/dlls/riched20/paint.c
+++ b/dlls/riched20/paint.c
@@ -956,7 +956,7 @@ static void ME_DrawParagraph(ME_Context *c, ME_DisplayItem *paragraph)
           rc.right = rc.left + run->nWidth;
           rc.top = c->pt.y + para->pt.y + run->pt.y;
           rc.bottom = rc.top + height;
-          TRACE("rc = (%d, %d, %d, %d)\n", rc.left, rc.top, rc.right, rc.bottom);
+          TRACE("rc = %s\n", wine_dbgstr_rect(&rc));
           FrameRect(c->hDC, &rc, GetSysColorBrush(COLOR_GRAYTEXT));
         }
         if (visible)




More information about the wine-cvs mailing list