Michael Stefaniuc : riched20: Use wine_dbgstr_rect() to trace a RECT.
Module: wine Branch: master Commit: 9b4b75312aaa323e22d2f054388591907c42245a URL: http://source.winehq.org/git/wine.git/?a=commit;h=9b4b75312aaa323e22d2f05438... Author: Michael Stefaniuc <mstefani(a)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(a)redhat.de> Signed-off-by: Huw Davies <huw(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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)
participants (1)
-
Alexandre Julliard