Commit in reactos/lib/comctl32 on MAIN | |||
treeview.c | +1 | -1 | 1.5 -> 1.6 |
Sync with Wine-20040213: Huw Davies <huw@codeweavers.com> Fix a TRACE.
diff -u -r1.5 -r1.6 --- treeview.c 22 Jan 2004 18:45:19 -0000 1.5 +++ treeview.c 17 Feb 2004 22:40:47 -0000 1.6 @@ -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);