summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--logic/lists/JavaVersionList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/lists/JavaVersionList.cpp b/logic/lists/JavaVersionList.cpp
index bc177f09..f69c2b59 100644
--- a/logic/lists/JavaVersionList.cpp
+++ b/logic/lists/JavaVersionList.cpp
@@ -201,7 +201,7 @@ void JavaListLoadTask::executeTask()
void JavaListLoadTask::checkerProgress(int current, int total)
{
- float progress = (current * 100.0) / (current + total);
+ float progress = (current * 100.0) / total;
this->setProgress((int) progress);
}