diff options
author | lukem <lukem@NetBSD.org> | 2005-04-11 01:49:31 +0000 |
---|---|---|
committer | lukem <lukem@NetBSD.org> | 2005-04-11 01:49:31 +0000 |
commit | a4c933164098a3a4850471590a44bc3232ed5f63 (patch) | |
tree | 34039982a6c47a4dbef65bc1cdb46f5a0ab49370 | |
parent | bb9c4e7d0b634baa7634106ed0f4bb650b979eed (diff) | |
download | bsd-progress-a4c933164098a3a4850471590a44bc3232ed5f63.tar.gz bsd-progress-a4c933164098a3a4850471590a44bc3232ed5f63.tar.zst bsd-progress-a4c933164098a3a4850471590a44bc3232ed5f63.zip |
gratuitous whitespace cleanup (before someone else jumps the gun...)
-rw-r--r-- | progressbar.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/progressbar.c b/progressbar.c index d139490..717b032 100644 --- a/progressbar.c +++ b/progressbar.c @@ -1,4 +1,4 @@ -/* $NetBSD: progressbar.c,v 1.6 2005/02/10 16:00:28 jmc Exp $ */ +/* $NetBSD: progressbar.c,v 1.7 2005/04/11 01:49:31 lukem Exp $ */ /*- * Copyright (c) 1997-2003 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: progressbar.c,v 1.6 2005/02/10 16:00:28 jmc Exp $"); +__RCSID("$NetBSD: progressbar.c,v 1.7 2005/04/11 01:49:31 lukem Exp $"); #endif /* not lint */ /* @@ -211,11 +211,11 @@ progressmeter(int flag) /* * calculate the length of the `*' bar, ensuring that - * the number of stars won't exceed the buffer size + * the number of stars won't exceed the buffer size */ barlength = MIN(sizeof(buf) - 1, ttywidth) - BAROVERHEAD; if (prefix) - barlength -= strlen(prefix); + barlength -= strlen(prefix); if (barlength > 0) { i = barlength * ratio / 100; len += snprintf(buf + len, BUFLEFT, |