aboutsummaryrefslogtreecommitdiffstats
path: root/lhist_scr.c
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2014-01-25 00:07:31 +0000
committerJonathan McCrohan <jmccrohan@gmail.com>2014-01-25 00:07:31 +0000
commitb7fe9575ab40a3bcde643a8ae8750ca6fd2aaad7 (patch)
treed220eddc3489f44845e9855e901290f7f712a626 /lhist_scr.c
parentbea11309641a93ea51622fc85331d3960011afe4 (diff)
parentd7ca0c3e555ef0b5250873ddce48ccf2326b017a (diff)
downloadwavemon-b7fe9575ab40a3bcde643a8ae8750ca6fd2aaad7.tar.gz
Merge tag 'upstream/0.7.6'
Upstream version 0.7.6
Diffstat (limited to 'lhist_scr.c')
-rw-r--r--lhist_scr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lhist_scr.c b/lhist_scr.c
index e93359f..84b6925 100644
--- a/lhist_scr.c
+++ b/lhist_scr.c
@@ -222,7 +222,7 @@ static void display_lhist(void)
/* Clear screen and set up horizontal grid lines */
wattrset(w_lhist, COLOR_PAIR(CP_STATBKG));
for (y = 1; y <= HIST_MAXYLEN; y++)
- mvwaddch(w_lhist, hist_y(y), hist_x(x), y % 5 ? ' ' : '-');
+ mvwaddch(w_lhist, hist_y(y), hist_x(x), (y % 5) ? ' ' : '-');
/*
* SNR comes first, as it determines the background. If either