Nikolay Sivov : comctl32: Fix SysLink debug channel name, add a trace.
Alexandre Julliard
julliard at winehq.org
Tue May 18 12:32:59 CDT 2010
Module: wine
Branch: master
Commit: f894862ebc5a2d4e6f30518fcac45f2b1e372a38
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f894862ebc5a2d4e6f30518fcac45f2b1e372a38
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Tue May 18 14:47:25 2010 +0400
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 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 == '<')
More information about the wine-cvs
mailing list