]> git.pld-linux.org Git - packages/poldek.git/commitdiff
- fixes cosmetic bug of progress bar
authormis <mis@pld-linux.org>
Tue, 12 Nov 2002 12:34:27 +0000 (12:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    poldek-vfprogress.patch -> 1.1

poldek-vfprogress.patch [new file with mode: 0644]

diff --git a/poldek-vfprogress.patch b/poldek-vfprogress.patch
new file mode 100644 (file)
index 0000000..85302e9
--- /dev/null
@@ -0,0 +1,11 @@
+--- vfile/vfprogress.c 7 Nov 2002 16:43:29 -0000       1.6
++++ vfile/vfprogress.c 11 Nov 2002 21:22:10 -0000      1.7
+@@ -106,7 +106,7 @@
+     n = (int) (((float)bar->width) * frac);
+     
+-    if (amount > 0 && (10 * percent) - bar->prev_perc < 4) {
++    if (amount > 0 && amount != total && (10 * percent) - bar->prev_perc < 4) {
+         //printf("v %ld, %d  %ld, %f -> %f\n", n, bar->prev_perc, bar->prev_n, 10 * percent,
+         //(10 * percent) - (float)bar->prev_perc);
+         return;
This page took 0.474265 seconds and 4 git commands to generate.