mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 16:52:11 +00:00
[SETUPLIB][BOOTDATA] Rename "MBRInstallType" to "BootLoaderLocation"
Less hardcoded references to "MBR" for code that should be generic is always better.
This commit is contained in:
parent
259abe59dc
commit
c9c5fd1a18
5 changed files with 28 additions and 26 deletions
|
@ -154,13 +154,13 @@ CheckUnattendedSetup(
|
|||
IsUnattendedSetup = TRUE;
|
||||
DPRINT("Running unattended setup\n");
|
||||
|
||||
/* Search for 'MBRInstallType' in the 'Unattend' section */
|
||||
pSetupData->MBRInstallType = -1;
|
||||
if (SpInfFindFirstLine(UnattendInf, L"Unattend", L"MBRInstallType", &Context))
|
||||
/* Search for 'BootLoaderLocation' in the 'Unattend' section */
|
||||
pSetupData->BootLoaderLocation = 2; // Default to "system partition"
|
||||
if (SpInfFindFirstLine(UnattendInf, L"Unattend", L"BootLoaderLocation", &Context))
|
||||
{
|
||||
if (SpInfGetIntField(&Context, 1, &IntValue))
|
||||
{
|
||||
pSetupData->MBRInstallType = IntValue;
|
||||
pSetupData->BootLoaderLocation = IntValue;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue