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

This commit is contained in:
Alexandre Julliard 2009-02-25 15:30:37 +01:00
parent b5ac29a73d
commit 57d9a86810
1 changed files with 1 additions and 1 deletions

View File

@ -449,7 +449,7 @@ void version_init( const WCHAR *appname )
HANDLE root, hkey, config_key;
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 );
attr.Length = sizeof(attr);