treeview: fix TRACE
Huw D M Davies
h.davies1 at physics.ox.ac.uk
Thu Feb 12 10:43:07 CST 2004
Huw Davies <huw at codeweavers.com>
Fix a TRACE
--
Huw Davies
huw at codeweavers.com
Index: dlls/comctl32/treeview.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/treeview.c,v
retrieving revision 1.142
diff -u -r1.142 treeview.c
--- dlls/comctl32/treeview.c 21 Jan 2004 22:16:02 -0000 1.142
+++ dlls/comctl32/treeview.c 12 Feb 2004 16:41:42 -0000
@@ -1203,7 +1203,7 @@
TRACE("parent %p position %p: %s\n", parentItem, insertAfter,
(tvItem->mask & TVIF_TEXT)
? ((tvItem->pszText == LPSTR_TEXTCALLBACKW) ? "<callback>"
- : debugstr_w(tvItem->pszText))
+ : (isW ? debugstr_w(tvItem->pszText) : debugstr_a((LPSTR)tvItem->pszText)))
: "<no label>");
newItem = TREEVIEW_AllocateItem(infoPtr);
More information about the wine-patches
mailing list