chiark
/
gitweb
/
~mdw
/
dvdrip
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
813c2ce
)
dvd-sector-copy.c: Remove broken field-width specifier.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 19 Feb 2022 01:59:03 +0000
(
01:59
+0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 19 Feb 2022 01:59:03 +0000
(
01:59
+0000)
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.
dvd-sector-copy.c
patch
|
blob
|
blame
|
history
diff --git
a/dvd-sector-copy.c
b/dvd-sector-copy.c
index 418262f488a457e693fd68739e5064a27273c193..c98d622a3993e324ed2c355cf2923f2d406f1578 100644
(file)
--- 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/