msi: Don't use debugstr_a() on an output parameter.
Francois Gouget
fgouget at free.fr
Mon Sep 19 16:09:43 CDT 2011
Spotted by Michael Stefaniuc and Hans Leidekker.
---
dlls/msi/install.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/install.c b/dlls/msi/install.c
index de9c0ce..672c528 100644
--- a/dlls/msi/install.c
+++ b/dlls/msi/install.c
@@ -489,7 +489,7 @@ UINT WINAPI MsiGetSourcePathA( MSIHANDLE hInstall, LPCSTR szFolder,
awstring str;
UINT r;
- TRACE("%s %p %p\n", debugstr_a(szFolder), debugstr_a(szPathBuf), pcchPathBuf);
+ TRACE("%s %p %p\n", debugstr_a(szFolder), szPathBuf, pcchPathBuf);
str.unicode = FALSE;
str.str.a = szPathBuf;
--
1.7.5.4
More information about the wine-patches
mailing list