summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Warren <pdw@ex-parrot.com>2020-04-11 20:26:09 +0100
committerPaul Warren <pdw@ex-parrot.com>2020-04-11 20:26:09 +0100
commit8d76ef06d225c4d72db544b54ea1ef1a0e077967 (patch)
treeb6170326e2679f1382bd8d3260545aca6cb71232
parent77901c8c53e01359d83b8090aacfe62214658183 (diff)
downloadiftop-8d76ef06d225c4d72db544b54ea1ef1a0e077967.zip
Whitespace.master
-rw-r--r--ui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui.c b/ui.c
index abaadd2..2165071 100644
--- a/ui.c
+++ b/ui.c
@@ -114,9 +114,9 @@ static int get_bar_length(const long rate) {
if (rate > scale[rateidx].max) {
wantbiggerrate = 1;
if(! rateidx_init) {
- while(rate > scale[rateidx_init++].max) {
- }
- rateidx = rateidx_init;
+ while(rate > scale[rateidx_init++].max) {
+ }
+ rateidx = rateidx_init;
}
}
if(options.log_scale) {