From 7716f822471901ab2a08d02944bef4c4190584a2 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 21 Mar 2011 16:34:25 +0100 Subject: fb.c: fix cleanup of progress Signed-off-by: Florian Pritz --- fb.c.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fb.c.in b/fb.c.in index 2b5ceea..c8468f1 100644 --- a/fb.c.in +++ b/fb.c.in @@ -74,7 +74,7 @@ int progress_callback(void *cb_data, /* upload complete; clean up */ if (ulnow >= ultotal) { - fprintf(stderr, "\r"); + fprintf(stderr, "%*s\r", data->lastStringLength + 1, ""); return 0; } -- cgit v1.2.3-24-g4f1b