Commit 3ddda7b6 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

d3dx9_36/tests: Fix printing a NULL string.

parent 030ea689
......@@ -52,7 +52,7 @@ static HRESULT WINAPI testD3DXInclude_open(ID3DXInclude *iface,
const char include3[] = "vs.1.1\n";
trace("filename = %s\n", filename);
trace("parent_data = (%p) -> %s\n", parent_data, (char *)parent_data);
trace("parent_data (%p) -> %s\n", parent_data, parent_data ? (char *)parent_data : "(null)");
if(!strcmp(filename,"incl.vsh")) {
buffer = HeapAlloc(GetProcessHeap(), 0, sizeof(include));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment