progress-bar: Put a space after the prefix

We always want a space there. So let's just put one in the drawing
routine, and adjust the call cites to avoid adding a second one.
This commit is contained in:
Adrian Vovk
2024-08-30 21:25:37 -04:00
parent 7571cb42a8
commit 6e1992166f
4 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -4553,7 +4553,7 @@ static int progress_bytes(uint64_t n_bytes, void *userdata) {
p->copy_blocks_done += n_bytes;
if (asprintf(&s, "%s %s %s %s/%s ",
if (asprintf(&s, "%s %s %s %s/%s",
strna(p->copy_blocks_path),
special_glyph(SPECIAL_GLYPH_ARROW_RIGHT),
strna(p->definition_path),