Make percentage width fixed.

For drives that are wiping the percentage
completion is displayed. To retain column
alignment when wiping multiple drives, the
percentage values from 0.01% to 9.99% are
displayed with a leading space, i.e
[ 9.99%, then 10.00% to 99.99% is displayed
as, i.e [10.01%, etc..
This commit is contained in:
PartialVolume
2020-03-30 14:49:14 +01:00
parent 16a3b3c487
commit c3642e8904

View File

@@ -2367,7 +2367,7 @@ void* nwipe_gui_status( void* ptr )
mvwprintw( main_window,
yy++,
4,
"[%05.2f%%, round %i of %i, pass %i of %i] ",
"[%5.2f%%, round %i of %i, pass %i of %i] ",
c[i]->round_percent,
c[i]->round_working,
c[i]->round_count,