mirror of
https://github.com/reactos/reactos.git
synced 2024-10-15 05:37:44 +00:00
[USETUP]
- Set the type of the install partition even if it was not created by usetup. This fixes bug #4368. svn path=/trunk/; revision=47751
This commit is contained in:
parent
09d662004d
commit
9291284ade
|
@ -2310,8 +2310,6 @@ FormatPartitionPage (PINPUT_RECORD Ir)
|
||||||
{
|
{
|
||||||
CONSOLE_SetStatusText(MUIGetString(STRING_PLEASEWAIT));
|
CONSOLE_SetStatusText(MUIGetString(STRING_PLEASEWAIT));
|
||||||
|
|
||||||
if (PartEntry->PartInfo[PartNum].PartitionType == PARTITION_ENTRY_UNUSED)
|
|
||||||
{
|
|
||||||
if (wcscmp(FileSystemList->Selected->FileSystem, L"FAT") == 0)
|
if (wcscmp(FileSystemList->Selected->FileSystem, L"FAT") == 0)
|
||||||
{
|
{
|
||||||
if (PartEntry->PartInfo[PartNum].PartitionLength.QuadPart < (4200LL * 1024LL))
|
if (PartEntry->PartInfo[PartNum].PartitionLength.QuadPart < (4200LL * 1024LL))
|
||||||
|
@ -2359,7 +2357,6 @@ FormatPartitionPage (PINPUT_RECORD Ir)
|
||||||
PartEntry->PartInfo[PartNum].PartitionType = PARTITION_EXT2;
|
PartEntry->PartInfo[PartNum].PartitionType = PARTITION_EXT2;
|
||||||
else if (!FileSystemList->Selected->FormatFunc)
|
else if (!FileSystemList->Selected->FormatFunc)
|
||||||
return QUIT_PAGE;
|
return QUIT_PAGE;
|
||||||
}
|
|
||||||
|
|
||||||
CheckActiveBootPartition (PartitionList);
|
CheckActiveBootPartition (PartitionList);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue