From 769522753c25537e520adc322fa62e5390272add Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Tue, 26 Jan 2016 11:16:56 -0500
Subject: [PATCH] console: Don't delete last character of output text

Not sure why we were doing this...I guess people were working around
it by adding their own spaces?
---
 glnx-console.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/glnx-console.c b/glnx-console.c
index 0911eaff1..397331186 100644
--- a/glnx-console.c
+++ b/glnx-console.c
@@ -241,7 +241,7 @@ glnx_console_progress_text_percent (const char *text,
 
   if (textlen > 0)
     {
-      fwrite (text, 1, textlen - 1, stdout);
+      fwrite (text, 1, textlen, stdout);
       fputc (' ', stdout);
     }
   
-- 
GitLab