d3dxof/tests: Do not print the string when GetName returned 0 byte.

This commit is contained in:
Christian Costa 2012-03-08 09:16:46 +01:00 committed by Alexandre Julliard
parent bf71205b48
commit 235bb47d18
1 changed files with 1 additions and 1 deletions

View File

@ -576,7 +576,7 @@ static void process_data(LPDIRECTXFILEDATA lpDirectXFileData, int* plevel)
printf(" ");
debugstr_guid(str_clsid, &clsid);
debugstr_guid(str_clsid_type, clsid_type);
printf("Found object '%s' - %s - %s - %d\n", name, str_clsid, str_clsid_type, size);
printf("Found object '%s' - %s - %s - %d\n", len ? name : "", str_clsid, str_clsid_type, size);
if (EXPAND_STRING && size == 4)
{