d3dxof: Fix printing NULL strings.
Francois Gouget
fgouget at free.fr
Sun Sep 18 12:50:11 CDT 2011
---
This fixes a crash that occurred in the conformance tests on my Solaris
VMs when tracing was turned on.
dlls/d3dxof/d3dxof.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/d3dxof/d3dxof.c b/dlls/d3dxof/d3dxof.c
index b8f0f00..8678396 100644
--- a/dlls/d3dxof/d3dxof.c
+++ b/dlls/d3dxof/d3dxof.c
@@ -575,7 +575,7 @@ static HRESULT WINAPI IDirectXFileDataImpl_GetData(IDirectXFileData* iface, LPCS
{
IDirectXFileDataImpl *This = impl_from_IDirectXFileData(iface);
- TRACE("(%p/%p)->(%s,%p,%p)\n", This, iface, szMember, pcbSize, ppvData);
+ TRACE("(%p/%p)->(%s,%p,%p)\n", This, iface, debugstr_a(szMember), pcbSize, ppvData);
if (!pcbSize || !ppvData)
return DXFILEERR_BADVALUE;
--
1.7.5.4
More information about the wine-patches
mailing list