From d9558dbd19b05a8c86c6e1e1259a9bd1f903b9ad Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Thu, 12 Feb 2004 20:06:04 +0000 Subject: [PATCH] Fix a TRACE. --- dlls/comctl32/treeview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/comctl32/treeview.c b/dlls/comctl32/treeview.c index 1c1caec0c77..41147d3f4de 100644 --- a/dlls/comctl32/treeview.c +++ b/dlls/comctl32/treeview.c @@ -1203,7 +1203,7 @@ TREEVIEW_InsertItemT(TREEVIEW_INFO *infoPtr, const TVINSERTSTRUCTW *ptdi, BOOL i TRACE("parent %p position %p: %s\n", parentItem, insertAfter, (tvItem->mask & TVIF_TEXT) ? ((tvItem->pszText == LPSTR_TEXTCALLBACKW) ? "" - : debugstr_w(tvItem->pszText)) + : (isW ? debugstr_w(tvItem->pszText) : debugstr_a((LPSTR)tvItem->pszText))) : ""); newItem = TREEVIEW_AllocateItem(infoPtr);