[PATCH] Fix SysLink debug channel name, add a trace

Nikolay Sivov nsivov at codeweavers.com
Tue May 18 05:47:25 CDT 2010


---
 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 f6dbd8c..7fead7c 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 490d0ea..9340fc6 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 == '<')
-- 
1.5.6.5


--=-PIFcRlNyx/Vu3Js6XcOW--




More information about the wine-patches mailing list