From f539d4c9281cb6042a841201da12775da442c2c8 Mon Sep 17 00:00:00 2001 From: David Hedberg Date: Tue, 24 May 2011 21:09:46 +0200 Subject: [PATCH] comdlg32: Change some trace statements to dump strings. --- dlls/comdlg32/itemdlg.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dlls/comdlg32/itemdlg.c b/dlls/comdlg32/itemdlg.c index 51767a75d8..8612904d9b 100644 --- a/dlls/comdlg32/itemdlg.c +++ b/dlls/comdlg32/itemdlg.c @@ -1109,7 +1109,7 @@ static HRESULT WINAPI IFileDialog2_fnGetCurrentSelection(IFileDialog2 *iface, IS static HRESULT WINAPI IFileDialog2_fnSetFileName(IFileDialog2 *iface, LPCWSTR pszName) { FileDialogImpl *This = impl_from_IFileDialog2(iface); - TRACE("%p (%p)\n", iface, pszName); + TRACE("%p (%s)\n", iface, debugstr_w(pszName)); set_file_name(This, pszName); @@ -1134,7 +1134,7 @@ static HRESULT WINAPI IFileDialog2_fnGetFileName(IFileDialog2 *iface, LPWSTR *ps static HRESULT WINAPI IFileDialog2_fnSetTitle(IFileDialog2 *iface, LPCWSTR pszTitle) { FileDialogImpl *This = impl_from_IFileDialog2(iface); - TRACE("%p (%p)\n", This, pszTitle); + TRACE("%p (%s)\n", This, debugstr_w(pszTitle)); LocalFree(This->custom_title); This->custom_title = StrDupW(pszTitle); @@ -1146,7 +1146,7 @@ static HRESULT WINAPI IFileDialog2_fnSetTitle(IFileDialog2 *iface, LPCWSTR pszTi static HRESULT WINAPI IFileDialog2_fnSetOkButtonLabel(IFileDialog2 *iface, LPCWSTR pszText) { FileDialogImpl *This = impl_from_IFileDialog2(iface); - TRACE("%p (%p)\n", This, pszText); + TRACE("%p (%s)\n", This, debugstr_w(pszText)); LocalFree(This->custom_okbutton); This->custom_okbutton = StrDupW(pszText); @@ -1159,7 +1159,7 @@ static HRESULT WINAPI IFileDialog2_fnSetOkButtonLabel(IFileDialog2 *iface, LPCWS static HRESULT WINAPI IFileDialog2_fnSetFileNameLabel(IFileDialog2 *iface, LPCWSTR pszLabel) { FileDialogImpl *This = impl_from_IFileDialog2(iface); - TRACE("%p (%p)\n", This, pszLabel); + TRACE("%p (%s)\n", This, debugstr_w(pszLabel)); LocalFree(This->custom_filenamelabel); This->custom_filenamelabel = StrDupW(pszLabel); @@ -1246,7 +1246,7 @@ static HRESULT WINAPI IFileDialog2_fnSetFilter(IFileDialog2 *iface, IShellItemFi static HRESULT WINAPI IFileDialog2_fnSetCancelButtonLabel(IFileDialog2 *iface, LPCWSTR pszLabel) { FileDialogImpl *This = impl_from_IFileDialog2(iface); - TRACE("%p (%p)\n", This, pszLabel); + TRACE("%p (%s)\n", This, debugstr_w(pszLabel)); LocalFree(This->custom_cancelbutton); This->custom_cancelbutton = StrDupW(pszLabel); -- 2.32.0.93.g670b81a890