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

Michael Stefaniuc mstefani at redhat.de
Wed Mar 21 17:39:51 CDT 2012


---
 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)
-- 
1.7.7.6



More information about the wine-patches mailing list