d3drm: Use debugstr_a to print a string that can be NULL.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2016-03-14 11:54:50 +01:00 committed by Alexandre Julliard
parent 37954777d5
commit 62277fb777
1 changed files with 1 additions and 1 deletions

View File

@ -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;