Pressing F3-Enter during setup behaves wrong sometimes.
Patch by Wim Hueskes.
CORE-11231 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71321
This commit is contained in:
Eric Kohl 2016-05-12 16:18:32 +00:00
parent ade016e3a4
commit 1732ee52e0

View file

@ -1978,6 +1978,8 @@ CreatePrimaryPartitionPage(PINPUT_RECORD Ir)
{ {
if (ConfirmQuit(Ir) == TRUE) if (ConfirmQuit(Ir) == TRUE)
return QUIT_PAGE; return QUIT_PAGE;
break;
} }
else if (Cancel == TRUE) else if (Cancel == TRUE)
{ {
@ -2133,6 +2135,8 @@ CreateExtendedPartitionPage(PINPUT_RECORD Ir)
{ {
if (ConfirmQuit(Ir) == TRUE) if (ConfirmQuit(Ir) == TRUE)
return QUIT_PAGE; return QUIT_PAGE;
break;
} }
else if (Cancel == TRUE) else if (Cancel == TRUE)
{ {
@ -2287,6 +2291,8 @@ CreateLogicalPartitionPage(PINPUT_RECORD Ir)
{ {
if (ConfirmQuit(Ir) == TRUE) if (ConfirmQuit(Ir) == TRUE)
return QUIT_PAGE; return QUIT_PAGE;
break;
} }
else if (Cancel == TRUE) else if (Cancel == TRUE)
{ {
@ -2375,7 +2381,7 @@ ConfirmDeleteSystemPartitionPage(PINPUT_RECORD Ir)
} }
} }
return SELECT_PARTITION_PAGE; return CONFIRM_DELETE_SYSTEM_PARTITION_PAGE;
} }
@ -3250,8 +3256,11 @@ InstallDirectoryPage(PINPUT_RECORD Ir)
ULONG Length; ULONG Length;
/* We do not need the filsystem list any more */ /* We do not need the filsystem list any more */
if (FileSystemList != NULL)
{
DestroyFileSystemList(FileSystemList); DestroyFileSystemList(FileSystemList);
FileSystemList = NULL; FileSystemList = NULL;
}
if (PartitionList == NULL || if (PartitionList == NULL ||
PartitionList->CurrentDisk == NULL || PartitionList->CurrentDisk == NULL ||