James Moger
2011-11-11 9d25a4f4176e2945fad5905072b78b9f7a321df7
Fix to download percentange calculation
1 files modified
2 ■■■ changed files
src/com/gitblit/build/Build.java 2 ●●● patch | view | raw | blame | history
src/com/gitblit/build/Build.java
@@ -313,7 +313,7 @@
                        lastProgress = progress;
                        updateDownload(progress, targetFile);
                        if (downloadListener != null) {
                            int percent = Math.round(100 * progress);
                            int percent = Math.min(100, Math.round(100 * progress));
                            downloadListener.downloading(mo.name + " (" + percent + "%)");
                        }
                    }