Commit ff23498e authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

shell32: Fix printing NULL strings.

parent 6a8ba361
...@@ -1472,7 +1472,7 @@ static HRESULT WINAPI IShellLinkA_fnSetDescription(IShellLinkA *iface, LPCSTR ps ...@@ -1472,7 +1472,7 @@ static HRESULT WINAPI IShellLinkA_fnSetDescription(IShellLinkA *iface, LPCSTR ps
{ {
IShellLinkImpl *This = impl_from_IShellLinkA(iface); 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); HeapFree(GetProcessHeap(), 0, This->sDescription);
if (pszName) if (pszName)
...@@ -1540,7 +1540,7 @@ static HRESULT WINAPI IShellLinkA_fnSetArguments(IShellLinkA *iface, LPCSTR pszA ...@@ -1540,7 +1540,7 @@ static HRESULT WINAPI IShellLinkA_fnSetArguments(IShellLinkA *iface, LPCSTR pszA
{ {
IShellLinkImpl *This = impl_from_IShellLinkA(iface); 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); HeapFree(GetProcessHeap(), 0, This->sArgs);
if (pszArgs) if (pszArgs)
...@@ -1664,7 +1664,7 @@ static HRESULT WINAPI IShellLinkA_fnSetPath(IShellLinkA *iface, LPCSTR pszFile) ...@@ -1664,7 +1664,7 @@ static HRESULT WINAPI IShellLinkA_fnSetPath(IShellLinkA *iface, LPCSTR pszFile)
HRESULT r; HRESULT r;
LPWSTR str; LPWSTR str;
TRACE("(%p)->(path=%s)\n",This, pszFile); TRACE("(%p)->(path=%s)\n",This, debugstr_a(pszFile));
if (!pszFile) return E_INVALIDARG; if (!pszFile) return E_INVALIDARG;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment