Module: wine Branch: master Commit: 57d9a868107cc3be864e2e778d5454005f36d482 URL: http://source.winehq.org/git/wine.git/?a=commit;h=57d9a868107cc3be864e2e778d...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Feb 25 15:30:37 2009 +0100
ntdll: Default to WinXP version if there's nothing in the registry.
---
dlls/ntdll/version.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/version.c b/dlls/ntdll/version.c index 09b338f..bf9db4d 100644 --- a/dlls/ntdll/version.c +++ b/dlls/ntdll/version.c @@ -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);