Commit 57d9a868 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Default to WinXP version if there's nothing in the registry.

parent b5ac29a7
...@@ -449,7 +449,7 @@ void version_init( const WCHAR *appname ) ...@@ -449,7 +449,7 @@ void version_init( const WCHAR *appname )
HANDLE root, hkey, config_key; HANDLE root, hkey, config_key;
BOOL got_win_ver = FALSE; BOOL got_win_ver = FALSE;
current_version = &VersionData[NT2K]; /* default if nothing else is specified */ current_version = &VersionData[WINXP]; /* default if nothing else is specified */
RtlOpenCurrentUser( KEY_ALL_ACCESS, &root ); RtlOpenCurrentUser( KEY_ALL_ACCESS, &root );
attr.Length = sizeof(attr); attr.Length = sizeof(attr);
......
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