Commit 18c12c6d authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

winetest: Show more detailed version error information.

parent 21e9d51b
...@@ -129,14 +129,14 @@ static char * get_file_version(char * file_name) ...@@ -129,14 +129,14 @@ static char * get_file_version(char * file_name)
pFixedVersionInfo->dwFileVersionLS >> 16, pFixedVersionInfo->dwFileVersionLS >> 16,
pFixedVersionInfo->dwFileVersionLS & 0xffff); pFixedVersionInfo->dwFileVersionLS & 0xffff);
} else } else
sprintf(version, "version not available"); sprintf(version, "version not found");
} else } else
sprintf(version, "unknown"); sprintf(version, "version error %u", GetLastError());
heap_free(data); heap_free(data);
} else } else
sprintf(version, "failed"); sprintf(version, "version error %u", ERROR_OUTOFMEMORY);
} else } else
sprintf(version, "version not available"); sprintf(version, "version not present");
return version; return version;
} }
......
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