]> sjero.net Git - wget/blobdiff - src/progress.c
NEWS: cite --start-pos
[wget] / src / progress.c
index f61c95e5bb981ace0b202223a1b5a14b4574cc82..2e888a90b42a722fbf479bb7a6084f61afce79b4 100644 (file)
@@ -989,7 +989,7 @@ create_image (struct bar_progress *bp, double dl_total_time, bool done)
       double dltime = hist->total_time + (dl_total_time - bp->recent_start);
       double dlspeed = calc_rate (dlquant, dltime, &units);
       sprintf (p, " %4.*f%s", dlspeed >= 99.95 ? 0 : dlspeed >= 9.995 ? 1 : 2,
-               dlspeed,  !opt.bits_fmt?short_units[units]:short_units_bits[units]);
+               dlspeed,  !opt.report_bps ? short_units[units] : short_units_bits[units]);
       move_to_end (p);
     }
   else