From f894862ebc5a2d4e6f30518fcac45f2b1e372a38 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Tue, 18 May 2010 14:47:25 +0400 Subject: [PATCH] comctl32: Fix SysLink debug channel name, add a trace. --- dlls/comctl32/string.c | 2 +- dlls/comctl32/syslink.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dlls/comctl32/string.c b/dlls/comctl32/string.c index f6dbd8c558..7fead7ccc8 100644 --- a/dlls/comctl32/string.c +++ b/dlls/comctl32/string.c @@ -235,7 +235,7 @@ INT WINAPI Str_GetPtrW (LPCWSTR lpSrc, LPWSTR lpDest, INT nMaxLen) */ BOOL WINAPI Str_SetPtrW (LPWSTR *lppDest, LPCWSTR lpSrc) { - TRACE("(%p %p)\n", lppDest, lpSrc); + TRACE("(%p %s)\n", lppDest, debugstr_w(lpSrc)); if (lpSrc) { INT len = strlenW (lpSrc) + 1; diff --git a/dlls/comctl32/syslink.c b/dlls/comctl32/syslink.c index 490d0ea242..9340fc613b 100644 --- a/dlls/comctl32/syslink.c +++ b/dlls/comctl32/syslink.c @@ -39,7 +39,7 @@ #include "wine/unicode.h" #include "wine/debug.h" -WINE_DEFAULT_DEBUG_CHANNEL(progress); +WINE_DEFAULT_DEBUG_CHANNEL(syslink); INT WINAPI StrCmpNIW(LPCWSTR,LPCWSTR,INT); @@ -198,6 +198,8 @@ static UINT SYSLINK_ParseText (SYSLINK_INFO *infoPtr, LPCWSTR Text) LPCWSTR lpID, lpUrl; UINT lenId, lenUrl; + TRACE("(%p %s)\n", infoPtr, debugstr_w(Text)); + for(current = Text; *current != 0;) { if(*current == '<') -- 2.32.0.93.g670b81a890