diff options
author | Sky <git@bunnies.cc> | 2013-12-11 09:39:25 +0000 |
---|---|---|
committer | Sky <git@bunnies.cc> | 2013-12-11 09:39:25 +0000 |
commit | 3e8e0dd639d68acddb7c96b89cc0ca5629a1942c (patch) | |
tree | 4ae747729252c96cfd512aad8b2ef41f8cc24dba /logic | |
parent | 26a7544325f8fd8939567b270bde9ad1db465f9f (diff) | |
download | MultiMC-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')
-rw-r--r-- | logic/lists/JavaVersionList.cpp | 2 |
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); } |