mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
Normalize win2000, nt2k, nt2000 to win2k, normalize win2k3 to win2003
(spotted by Vincent Béron).
This commit is contained in:
parent
9fd54b2838
commit
6d4f4ac54e
@ -64,6 +64,17 @@ initGeneralDlg (HWND hDlg)
|
||||
char *curDOSVer = getConfigValue("Version", "DOS", "6.22");
|
||||
char *curWineLook = getConfigValue("Tweak.Layout", "WineLook", "win95");
|
||||
|
||||
/* normalize the version strings */
|
||||
if (!strcmp(curWinVer, "win2000") || !strcmp(curWinVer, "nt2k") || !strcmp(curWinVer, "nt2000")) {
|
||||
free(curWinVer);
|
||||
curWinVer = strdup("win2k");
|
||||
}
|
||||
|
||||
if (!strcmp(curWinVer, "win2k3")) {
|
||||
free(curWinVer);
|
||||
curWinVer = strdup("win2003");
|
||||
}
|
||||
|
||||
if ((pVer = getWinVersions ()))
|
||||
{
|
||||
for (i = 0; *pVer->szVersion; i++, pVer++)
|
||||
|
@ -34,8 +34,8 @@ static VERSION_DESC sWinVersions[] = {
|
||||
{"win98", "Windows 98"},
|
||||
{"winme", "Windows ME"},
|
||||
{"win2k", "Windows 2000"},
|
||||
{"win2k3", "Windows 2003"},
|
||||
{"winxp", "Windows XP"},
|
||||
{"win2003", "Windows 2003"},
|
||||
{"", ""}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user