From 5ce0ca2a20c4d09d6c8366333b9ac03edf582405 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Tue, 12 Apr 2022 21:58:51 +0100 Subject: [PATCH] dvd-sector-copy.c: Update progress data at event edge. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvd-sector-copy.c b/dvd-sector-copy.c index acdde73..96379e4 100644 --- a/dvd-sector-copy.c +++ b/dvd-sector-copy.c @@ -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; -- 2.11.0