comdlg32: Use wine_dbgstr_rect() to trace a RECT.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2016-04-21 10:51:07 +02:00 committed by Alexandre Julliard
parent 3c3fccacf0
commit 69f6493a8c
1 changed files with 1 additions and 3 deletions

View File

@ -1173,9 +1173,7 @@ static LRESULT CFn_WMPaint(HWND hDlg, WPARAM wParam, LPARAM lParam, const CHOOSE
MapWindowPoints( 0, hDlg, (LPPOINT) &info.rcWindow, 2); MapWindowPoints( 0, hDlg, (LPPOINT) &info.rcWindow, 2);
hdc = BeginPaint( hDlg, &ps ); hdc = BeginPaint( hDlg, &ps );
TRACE("erase %d, rect=(%d,%d)-(%d,%d)\n", ps.fErase, TRACE("erase %d, rect=%s\n", ps.fErase, wine_dbgstr_rect(&ps.rcPaint));
ps.rcPaint.left, ps.rcPaint.top,
ps.rcPaint.right, ps.rcPaint.bottom);
/* Paint frame */ /* Paint frame */
DrawEdge( hdc, &info.rcWindow, EDGE_SUNKEN, BF_RECT|BF_ADJUST ); DrawEdge( hdc, &info.rcWindow, EDGE_SUNKEN, BF_RECT|BF_ADJUST );