Francois Gouget : shell32: Use wine_dbgstr_rect() to trace a potentially NULL rect struct.

Alexandre Julliard julliard at winehq.org
Mon Sep 19 13:48:43 CDT 2011


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Sun Sep 18 22:52:58 2011 +0200

shell32: Use wine_dbgstr_rect() to trace a potentially NULL rect struct.

---

 dlls/shell32/shlview.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/dlls/shell32/shlview.c b/dlls/shell32/shlview.c
index 3f18256..ff5f05c 100644
--- a/dlls/shell32/shlview.c
+++ b/dlls/shell32/shlview.c
@@ -2095,9 +2095,7 @@ static HRESULT WINAPI IShellView2_fnCreateViewWindow2(IShellView2 *iface,
 
     TRACE("-- psvPrev %p, pfs %p, psbOwner %p, prcView %p\n",
             view_params->psvPrev, view_params->pfs, view_params->psbOwner, view_params->prcView);
-    TRACE("-- vmode %#x, flags %#x, left %d, top %d, right %d, bottom %d\n",
-            view_params->pfs->ViewMode, view_params->pfs->fFlags, view_params->prcView->left,
-            view_params->prcView->top, view_params->prcView->right, view_params->prcView->bottom);
+    TRACE("-- vmode %#x, flags %#x, view %s\n", view_params->pfs->ViewMode, view_params->pfs->fFlags, wine_dbgstr_rect(view_params->prcView));
 
     if (!view_params->psbOwner) return E_UNEXPECTED;
 




More information about the wine-cvs mailing list