diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2014-01-25 00:07:30 +0000 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2014-01-25 00:07:30 +0000 |
commit | d7ca0c3e555ef0b5250873ddce48ccf2326b017a (patch) | |
tree | 52fc801f0893eb7752524b2602d420afbda4ed59 /lhist_scr.c | |
parent | 3645c236e9720deb696e7aebc33cd9a6d8cbbdc6 (diff) | |
download | wavemon-d7ca0c3e555ef0b5250873ddce48ccf2326b017a.tar.gz |
Imported Upstream version 0.7.6upstream/0.7.6
Diffstat (limited to 'lhist_scr.c')
-rw-r--r-- | lhist_scr.c | 2 |
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 |