David Hedberg : comdlg32: Change some trace statements to dump strings.
Alexandre Julliard
julliard at winehq.org
Wed May 25 11:28:15 CDT 2011
Module: wine
Branch: master
Commit: f539d4c9281cb6042a841201da12775da442c2c8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f539d4c9281cb6042a841201da12775da442c2c8
Author: David Hedberg <david.hedberg at gmail.com>
Date: Tue May 24 21:09:46 2011 +0200
comdlg32: Change some trace statements to dump strings.
---
dlls/comdlg32/itemdlg.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/comdlg32/itemdlg.c b/dlls/comdlg32/itemdlg.c
index 51767a7..8612904 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);
More information about the wine-cvs
mailing list