Fix completed/total confusion in numeric display...

...of network transmission dialog.
This commit is contained in:
Sergey Popov 2011-09-03 21:28:21 +00:00
parent c8dc77c0a6
commit 57ca62d02b

View file

@ -52,7 +52,7 @@ void tnetwork_transmission::pump_monitor::process(events::pump_info&)
.set_percentage((completed*100)/total);
std::stringstream ss;
ss << utils::si_string(total, true, _("unit_byte^B"))
ss << utils::si_string(completed, true, _("unit_byte^B"))
<< "/"
<< utils::si_string(total, true, _("unit_byte^B"));