mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
winedbg: Use RtlGetVersion to fix displayed Windows version on Win8.1 or 10 prefix.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e8f16fcbcc
commit
c181526303
1 changed files with 2 additions and 2 deletions
|
@ -728,11 +728,11 @@ version_table[] =
|
|||
|
||||
static const char *get_windows_version(void)
|
||||
{
|
||||
OSVERSIONINFOEXW info = { sizeof(OSVERSIONINFOEXW) };
|
||||
RTL_OSVERSIONINFOEXW info = { sizeof(RTL_OSVERSIONINFOEXW) };
|
||||
static char str[64];
|
||||
int i;
|
||||
|
||||
GetVersionExW( (OSVERSIONINFOW *)&info );
|
||||
RtlGetVersion( &info );
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(version_table); i++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue