mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 21:57:18 +00:00
winetest: Show more detailed version error information.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
21e9d51b36
commit
18c12c6dbb
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue