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
|
@ -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 New Issue