d3drm: Use debugstr_a to print a string that can be NULL. (2nd try)
Michael Stefaniuc
mstefani at redhat.de
Mon Mar 14 05:54:50 CDT 2016
Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
---
v2: Remove quotes aroung %s
dlls/d3drm/meshbuilder.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/d3drm/meshbuilder.c b/dlls/d3drm/meshbuilder.c
index 8bd5131..6d0b55b 100644
--- a/dlls/d3drm/meshbuilder.c
+++ b/dlls/d3drm/meshbuilder.c
@@ -1069,7 +1069,7 @@ HRESULT load_mesh_data(IDirect3DRMMeshBuilder3 *iface, IDirectXFileData *pData,
return hr;
}
- TRACE("Mesh name is '%s'\n", This->name ? This->name : "");
+ TRACE("Mesh name is %s\n", debugstr_a(This->name));
This->nb_normals = 0;
--
2.4.3
More information about the wine-patches
mailing list