Michael Stefaniuc : shell32: Print the debug string and not the pointer to it.

Alexandre Julliard julliard at winehq.org
Mon Mar 26 12:29:32 CDT 2012


Module: wine
Branch: master
Commit: 798beb2cb8d07cd76494cd878ecef711ca969d92
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=798beb2cb8d07cd76494cd878ecef711ca969d92

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Wed Mar 21 23:39:51 2012 +0100

shell32: Print the debug string and not the pointer to it.

---

 dlls/shell32/folders.c   |    4 ++--
 dlls/shell32/shellpath.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/shell32/folders.c b/dlls/shell32/folders.c
index d077925..4848644 100644
--- a/dlls/shell32/folders.c
+++ b/dlls/shell32/folders.c
@@ -355,8 +355,8 @@ static HRESULT WINAPI IExtractIconW_fnExtract(IExtractIconW * iface, LPCWSTR psz
         IExtractIconWImpl *This = impl_from_IExtractIconW(iface);
         int index;
 
-	FIXME("(%p) (file=%p index=%d %p %p size=%08x) semi-stub\n", This, debugstr_w(pszFile), (signed)nIconIndex,
-              phiconLarge, phiconSmall, nIconSize);
+        FIXME("(%p) (file=%s index=%d %p %p size=%08x) semi-stub\n", This, debugstr_w(pszFile),
+                (signed)nIconIndex, phiconLarge, phiconSmall, nIconSize);
 
         index = SIC_GetIconIndex(pszFile, nIconIndex, 0);
 
diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c
index 16ca6a3..c883e64 100644
--- a/dlls/shell32/shellpath.c
+++ b/dlls/shell32/shellpath.c
@@ -3578,7 +3578,7 @@ static HRESULT WINAPI knownfolder_SetPath(
     struct knownfolder *knownfolder = impl_from_IKnownFolder( iface );
     HRESULT hr = S_OK;
 
-    TRACE("(%p, 0x%08x, %p)\n", knownfolder, dwFlags, debugstr_w(pszPath));
+    TRACE("(%p, 0x%08x, %s)\n", knownfolder, dwFlags, debugstr_w(pszPath));
 
     /* check if the known folder is registered */
     if(!knownfolder->registryPath)




More information about the wine-cvs mailing list