From f637a4e66fbb015020cdc874d33c759f5ab40884 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Fri, 27 Nov 2009 15:50:12 -0700 Subject: Fix display of status bars again --- src/gui/statuswindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/statuswindow.cpp') diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp index c479fed7..94c95f68 100644 --- a/src/gui/statuswindow.cpp +++ b/src/gui/statuswindow.cpp @@ -408,7 +408,7 @@ void StatusWindow::updateProgressBar(ProgressBar *bar, int value, int max, } else { - float progress = (float) value / max; + float progress = ((float) value) / max; if (percent) bar->setText(strprintf("%2.2f", 100 * progress) + "%"); -- cgit v1.2.3-60-g2f50