From 798beb2cb8d07cd76494cd878ecef711ca969d92 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Wed, 21 Mar 2012 23:39:51 +0100 Subject: [PATCH] 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 d07792597c6..48486444c15 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 16ca6a388c5..c883e64751d 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)