summaryrefslogtreecommitdiffstats
path: root/logic/lists
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2013-12-11 09:39:25 +0000
committerSky <git@bunnies.cc>2013-12-11 09:39:25 +0000
commit3e8e0dd639d68acddb7c96b89cc0ca5629a1942c (patch)
tree4ae747729252c96cfd512aad8b2ef41f8cc24dba /logic/lists
parent26a7544325f8fd8939567b270bde9ad1db465f9f (diff)
downloadMultiMC-3e8e0dd639d68acddb7c96b89cc0ca5629a1942c.tar
MultiMC-3e8e0dd639d68acddb7c96b89cc0ca5629a1942c.tar.gz
MultiMC-3e8e0dd639d68acddb7c96b89cc0ca5629a1942c.tar.lz
MultiMC-3e8e0dd639d68acddb7c96b89cc0ca5629a1942c.tar.xz
MultiMC-3e8e0dd639d68acddb7c96b89cc0ca5629a1942c.zip
Fix checker progress derp
Diffstat (limited to 'logic/lists')
-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);
}