diff options
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c index 36ae533e..9fd6ed4e 100644 --- a/src/utils.c +++ b/src/utils.c @@ -66,9 +66,9 @@ void progress_bar(int val, int total, const char *text) for ( i=0; i<n; i++ ) s[i] = '='; for ( i=n; i<width; i++ ) s[i] = '.'; s[width] = '\0'; - printf("\r%s: |%s|", text, s); + STATUS("\r%s: |%s|", text, s); - if ( val == total ) printf("\n"); + if ( val == total ) STATUS("\n"); fflush(stdout); } |