mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-20 18:05:21 -04:00
[ui] fix stale progress bar during standalone ext2/ext3 format
* Also rename the FormatXXX function calls
This commit is contained in:
parent
ccbf632a7c
commit
e11113f802
3 changed files with 12 additions and 12 deletions
2
src/ui.c
2
src/ui.c
|
@ -1183,7 +1183,7 @@ void InitProgress(BOOL bOnlyFormat)
|
|||
// So, yeah, if you're doing slow format, or using Large FAT32, and have persistence, you'll see
|
||||
// the progress bar revert during format on account that we reuse the same operation for both
|
||||
// partitions. Maybe one day I'll be bothered to handle two separate OP_FORMAT ops...
|
||||
if ((!IsChecked(IDC_QUICK_FORMAT)) || (persistence_size != 0) ||
|
||||
if ((!IsChecked(IDC_QUICK_FORMAT)) || (persistence_size != 0) || (fs_type >= FS_EXT2) ||
|
||||
((fs_type == FS_FAT32) && ((SelectedDrive.DiskSize >= LARGE_FAT32_SIZE) || (force_large_fat32)))) {
|
||||
nb_slots[OP_FORMAT] = -1;
|
||||
nb_slots[OP_CREATE_FS] = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue