From d7ca0c3e555ef0b5250873ddce48ccf2326b017a Mon Sep 17 00:00:00 2001 From: Jonathan McCrohan Date: Sat, 25 Jan 2014 00:07:30 +0000 Subject: Imported Upstream version 0.7.6 --- lhist_scr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lhist_scr.c') 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 -- cgit v1.2.3