Author: hpoussin Date: Sun Nov 1 13:19:37 2009 New Revision: 43896
URL: http://svn.reactos.org/svn/reactos?rev=43896&view=rev Log: [freeldr] Fix typos introduced in r43875
Modified: trunk/reactos/boot/freeldr/freeldr/bootmgr.c
Modified: trunk/reactos/boot/freeldr/freeldr/bootmgr.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/bootmg... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/bootmgr.c [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/bootmgr.c [iso-8859-1] Sun Nov 1 13:19:37 2009 @@ -153,19 +153,19 @@ { LoadAndBootWindows(SectionName, SettingValue, 0); } - else if (_stricmp(SettingValue, "WindowsNT40") == 0) - { - LoadAndBootWindows(BootType, SettingValue, _WIN32_WINNT_NT4); - } - else if (_stricmp(SettingValue, "Windows2003") == 0) - { - LoadAndBootWindows(BootType, SettingValue, _WIN32_WINNT_WS03); - } - else if (_stricmp(SettingValue, "Linux") == 0) - { - LoadAndBootLinux(BootType, OperatingSystemDisplayNames[SelectedOperatingSystem]); - } - else if (_stricmp(SettingValue, "BootSector") == 0) + else if (_stricmp(BootType, "WindowsNT40") == 0) + { + LoadAndBootWindows(SectionName, SettingValue, _WIN32_WINNT_NT4); + } + else if (_stricmp(BootType, "Windows2003") == 0) + { + LoadAndBootWindows(SectionName, SettingValue, _WIN32_WINNT_WS03); + } + else if (_stricmp(BootType, "Linux") == 0) + { + LoadAndBootLinux(SectionName, OperatingSystemDisplayNames[SelectedOperatingSystem]); + } + else if (_stricmp(BootType, "BootSector") == 0) { LoadAndBootBootSector(SectionName); }