From ff23498e3f9d90c6f46ff5e6af1e9529537b6959 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Mon, 19 Sep 2011 23:29:29 +0200 Subject: [PATCH] shell32: Fix printing NULL strings. --- dlls/shell32/shelllink.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/shell32/shelllink.c b/dlls/shell32/shelllink.c index 07fe7aafec0..7d97f97e554 100644 --- a/dlls/shell32/shelllink.c +++ b/dlls/shell32/shelllink.c @@ -1472,7 +1472,7 @@ static HRESULT WINAPI IShellLinkA_fnSetDescription(IShellLinkA *iface, LPCSTR ps { IShellLinkImpl *This = impl_from_IShellLinkA(iface); - TRACE("(%p)->(pName=%s)\n", This, pszName); + TRACE("(%p)->(pName=%s)\n", This, debugstr_a(pszName)); HeapFree(GetProcessHeap(), 0, This->sDescription); if (pszName) @@ -1540,7 +1540,7 @@ static HRESULT WINAPI IShellLinkA_fnSetArguments(IShellLinkA *iface, LPCSTR pszA { IShellLinkImpl *This = impl_from_IShellLinkA(iface); - TRACE("(%p)->(args=%s)\n",This, pszArgs); + TRACE("(%p)->(args=%s)\n",This, debugstr_a(pszArgs)); HeapFree(GetProcessHeap(), 0, This->sArgs); if (pszArgs) @@ -1664,7 +1664,7 @@ static HRESULT WINAPI IShellLinkA_fnSetPath(IShellLinkA *iface, LPCSTR pszFile) HRESULT r; LPWSTR str; - TRACE("(%p)->(path=%s)\n",This, pszFile); + TRACE("(%p)->(path=%s)\n",This, debugstr_a(pszFile)); if (!pszFile) return E_INVALIDARG;