dvd-sector-copy.c: Update progress data at event edge.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 12 Apr 2022 20:58:51 +0000 (21:58 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 12 Apr 2022 20:58:51 +0000 (21:58 +0100)
Don't just redisplay.  In particular, this forces output right at the
very beginning, before we read anything, which will be significant
soon.

dvd-sector-copy.c

index acdde73..96379e4 100644 (file)
@@ -1746,7 +1746,7 @@ static void emit(secaddr start, secaddr end)
   /* Put the progress display back, if we took it away, and show the file
    * progress bar if we added one.
    */
-  progress_update(&progress);
+  update_progress(start);
 
   /* Read the input region and copy it to the disc. */
   pos = start;