projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41733bc
)
[USETUP]
author
Eric Kohl
<eric.kohl@reactos.org>
Wed, 1 Mar 2017 20:46:24 +0000
(20:46 +0000)
committer
Eric Kohl
<eric.kohl@reactos.org>
Wed, 1 Mar 2017 20:46:24 +0000
(20:46 +0000)
Fix unbootable system after recreating the boot partition
Patch by Wim Hueskens.
CORE-11232 #resolve #comment Thanks a lot!
svn path=/trunk/; revision=74019
reactos/base/setup/usetup/partlist.c
patch
|
blob
|
history
diff --git
a/reactos/base/setup/usetup/partlist.c
b/reactos/base/setup/usetup/partlist.c
index
1be4d46
..
738bd73
100644
(file)
--- a/
reactos/base/setup/usetup/partlist.c
+++ b/
reactos/base/setup/usetup/partlist.c
@@
-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;