mirror of
https://github.com/reactos/reactos.git
synced 2025-01-11 16:51:06 +00:00
- if partition cannot be selected, let user create partition themselves
- autopartitioning still needs to be done See issue #2593 for more details. svn path=/trunk/; revision=28576
This commit is contained in:
parent
aad59dfc19
commit
6085c5e625
3 changed files with 11 additions and 10 deletions
|
@ -1387,10 +1387,10 @@ SelectPartitionPage(PINPUT_RECORD Ir)
|
|||
|
||||
if (IsUnattendedSetup)
|
||||
{
|
||||
SelectPartition(PartitionList,
|
||||
UnattendDestinationDiskNumber,
|
||||
UnattendDestinationPartitionNumber);
|
||||
return(SELECT_FILE_SYSTEM_PAGE);
|
||||
if (SelectPartition(PartitionList, UnattendDestinationDiskNumber, UnattendDestinationPartitionNumber))
|
||||
{
|
||||
return(SELECT_FILE_SYSTEM_PAGE);
|
||||
}
|
||||
}
|
||||
|
||||
while(TRUE)
|
||||
|
|
|
@ -1543,7 +1543,7 @@ DrawPartitionList (PPARTLIST List)
|
|||
}
|
||||
|
||||
|
||||
VOID
|
||||
DWORD
|
||||
SelectPartition(PPARTLIST List, ULONG DiskNumber, ULONG PartitionNumber)
|
||||
{
|
||||
PDISKENTRY DiskEntry;
|
||||
|
@ -1554,7 +1554,7 @@ SelectPartition(PPARTLIST List, ULONG DiskNumber, ULONG PartitionNumber)
|
|||
|
||||
/* Check for empty disks */
|
||||
if (IsListEmpty (&List->DiskListHead))
|
||||
return;
|
||||
return FALSE;
|
||||
|
||||
/* Check for first usable entry on next disk */
|
||||
Entry1 = List->CurrentDisk->ListEntry.Flink;
|
||||
|
@ -1575,16 +1575,17 @@ SelectPartition(PPARTLIST List, ULONG DiskNumber, ULONG PartitionNumber)
|
|||
{
|
||||
List->CurrentDisk = DiskEntry;
|
||||
List->CurrentPartition = PartEntry;
|
||||
DrawPartitionList (List);
|
||||
return;
|
||||
DrawPartitionList (List);
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
Entry2 = Entry2->Flink;
|
||||
}
|
||||
return;
|
||||
return FALSE;
|
||||
}
|
||||
Entry1 = Entry1->Flink;
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -188,7 +188,7 @@ DestroyPartitionList (PPARTLIST List);
|
|||
VOID
|
||||
DrawPartitionList (PPARTLIST List);
|
||||
|
||||
VOID
|
||||
DWORD
|
||||
SelectPartition(PPARTLIST List, ULONG DiskNumber, ULONG PartitionNumber);
|
||||
|
||||
BOOL
|
||||
|
|
Loading…
Reference in a new issue