summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--glnx-console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glnx-console.c b/glnx-console.c
index 3973311..f9d8baa 100644
--- a/glnx-console.c
+++ b/glnx-console.c
@@ -237,7 +237,7 @@ glnx_console_progress_text_percent (const char *text,
}
textlen = MIN (input_textlen, ncolumns - bar_min);
- barlen = ncolumns - textlen;
+ barlen = ncolumns - (textlen + 1);
if (textlen > 0)
{