diff options
author | Colin Walters <walters@verbum.org> | 2016-01-26 11:16:56 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2016-01-26 11:16:56 -0500 |
commit | 769522753c25537e520adc322fa62e5390272add (patch) | |
tree | e56dbb2162a922b2b55e0e5651259540e062f745 /glnx-console.c | |
parent | 34a96c03dd34636e654e8258b94da904d2923878 (diff) | |
download | libglnx-769522753c25537e520adc322fa62e5390272add.tar.gz |
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?
Diffstat (limited to 'glnx-console.c')
-rw-r--r-- | glnx-console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glnx-console.c b/glnx-console.c index 0911eaf..3973311 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); } |