From: Mark Wooding Date: Sat, 19 Feb 2022 01:59:03 +0000 (+0000) Subject: dvd-sector-copy.c: Remove broken field-width specifier. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/dvdrip/commitdiff_plain/5ae2f450a74784fb90cf7caac4e8fd1f249d67b5?hp=813c2ce850cf579d2337f834cad5279322e1ac15 dvd-sector-copy.c: Remove broken field-width specifier. I failed to include space for the decimal point and fraction, so it didn't actually do anything. And it turns out that I'm happy with it like this. --- diff --git a/dvd-sector-copy.c b/dvd-sector-copy.c index 418262f..c98d622 100644 --- a/dvd-sector-copy.c +++ b/dvd-sector-copy.c @@ -398,7 +398,7 @@ static void report_progress(secaddr pos) ("copied %.1f%% (%"PRIuSEC" of %"PRIuSEC"; %.1f %sB/s, ETA %s)", percent, pos, limit, rate, unit, etastr); if (file && id_kind(file->id) == VOB) { - append_progress(" -- %s %d %3.1f%%", + append_progress(" -- %s %d %.1f%%", id_part(file->id) ? "title" : "menu", id_title(file->id), (pos - file->start)*100.0/