summaryrefslogtreecommitdiff
blob: 20a657c683b7c070471c53450d06bbc0022746c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=299658
http://bugs.gentoo.org/144410

--- par2creatorsourcefile.cpp
+++ par2creatorsourcefile.cpp
@@ -213,11 +213,12 @@
         }
       }
 
+      offset += want;
+
       if (noiselevel > CommandLine::nlQuiet)
       {
         // Display progress
         u32 oldfraction = (u32)(1000 * offset / filesize);
-        offset += want;
         u32 newfraction = (u32)(1000 * offset / filesize);
         if (oldfraction != newfraction)
         {