[1/2] winecfg: Fill in the Service Pack major version for win2008 (try 2)

André Hentschel nerv at dawncrow.de
Fri Dec 2 10:58:04 CST 2011


---
 dlls/ntdll/version.c           |    2 +-
 programs/winecfg/appdefaults.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdll/version.c b/dlls/ntdll/version.c
index dfe7c3b..c8c616d 100644
--- a/dlls/ntdll/version.c
+++ b/dlls/ntdll/version.c
@@ -149,7 +149,7 @@ static const RTL_OSVERSIONINFOEXW VersionData[NB_WINDOWS_VERSIONS] =
     {
         sizeof(RTL_OSVERSIONINFOEXW), 6, 0, 0x1772, VER_PLATFORM_WIN32_NT,
         {'S','e','r','v','i','c','e',' ','P','a','c','k',' ','2',0},
-        0, 0, VER_SUITE_SINGLEUSERTS, VER_NT_SERVER, 0
+        2, 0, VER_SUITE_SINGLEUSERTS, VER_NT_SERVER, 0
     },
     /* WIN7 */
     {
diff --git a/programs/winecfg/appdefaults.c b/programs/winecfg/appdefaults.c
index 3a4c908..e979713 100644
--- a/programs/winecfg/appdefaults.c
+++ b/programs/winecfg/appdefaults.c
@@ -51,7 +51,7 @@ static const struct
 {
     { "win2008r2",   "Windows 2008 R2",   6,  1, 0x1DB1,VER_PLATFORM_WIN32_NT, "Service Pack 1", 1, 0, "ServerNT"},
     { "win7",        "Windows 7",         6,  1, 0x1DB1,VER_PLATFORM_WIN32_NT, "Service Pack 1", 1, 0, "WinNT"},
-    { "win2008",     "Windows 2008",      6,  0, 0x1772,VER_PLATFORM_WIN32_NT, "Service Pack 2", 0, 0, "ServerNT"},
+    { "win2008",     "Windows 2008",      6,  0, 0x1772,VER_PLATFORM_WIN32_NT, "Service Pack 2", 2, 0, "ServerNT"},
     { "vista",       "Windows Vista",     6,  0, 0x1772,VER_PLATFORM_WIN32_NT, "Service Pack 2", 2, 0, "WinNT"},
     { "win2003",     "Windows 2003",      5,  2, 0xECE, VER_PLATFORM_WIN32_NT, "Service Pack 2", 2, 0, "ServerNT"},
     { "winxp",       "Windows XP",        5,  1, 0xA28, VER_PLATFORM_WIN32_NT, "Service Pack 3", 3, 0, "WinNT"},
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list