mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[USETUP]
Fix unbootable system after recreating the boot partition Patch by Wim Hueskens. CORE-11232 #resolve #comment Thanks a lot! svn path=/trunk/; revision=74019
This commit is contained in:
parent
41733bc328
commit
91d6a8f428
1 changed files with 7 additions and 0 deletions
|
@ -3045,6 +3045,13 @@ DeleteCurrentPartition(
|
|||
return;
|
||||
}
|
||||
|
||||
/* Clear the system disk and partition pointers if the system partition will be deleted */
|
||||
if (List->SystemPartition == List->CurrentPartition)
|
||||
{
|
||||
List->SystemDisk = NULL;
|
||||
List->SystemPartition = NULL;
|
||||
}
|
||||
|
||||
DiskEntry = List->CurrentDisk;
|
||||
PartEntry = List->CurrentPartition;
|
||||
|
||||
|
|
Loading…
Reference in a new issue