mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-23 03:06:56 -04:00
[misc] update license URLs and align ms-sys's write_data buffer to 4K
* Also remove some obsolete TODOs
This commit is contained in:
parent
e3970ba707
commit
4c816a519e
9 changed files with 28 additions and 35 deletions
|
@ -810,7 +810,6 @@ errcode_t ext2fs_print_progress(int64_t cur_value, int64_t max_value)
|
|||
static int64_t last_value = -1;
|
||||
if (max_value == 0)
|
||||
return 0;
|
||||
// TODO: Need to use OP_CREATE_FS here for standalone format
|
||||
UpdateProgressWithInfo(OP_FORMAT, MSG_217, (uint64_t)((ext2_percent_start * max_value) + (ext2_percent_share * cur_value)), max_value);
|
||||
cur_value = (int64_t)(((float)cur_value / (float)max_value) * min(ext2_max_marker, (float)max_value));
|
||||
if ((cur_value < last_value) || (cur_value > last_value)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue