Francois Gouget : shell32: Fix printing NULL strings.
Alexandre Julliard
julliard at winehq.org
Tue Sep 20 13:08:34 CDT 2011
Module: wine
Branch: master
Commit: ff23498e3f9d90c6f46ff5e6af1e9529537b6959
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ff23498e3f9d90c6f46ff5e6af1e9529537b6959
Author: Francois Gouget <fgouget at free.fr>
Date: Mon Sep 19 23:29:29 2011 +0200
shell32: Fix printing NULL strings.
---
dlls/shell32/shelllink.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/shell32/shelllink.c b/dlls/shell32/shelllink.c
index 07fe7aa..7d97f97 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;
More information about the wine-cvs
mailing list