From a11d49b4061da3760e6f0de81c46125c5219579a Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 3 Mar 2011 15:46:55 +0100 Subject: [PATCH] added a parenthesis to remove a warning --- src/gmtool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gmtool.c b/src/gmtool.c index 35c79a139..801b68d76 100644 --- a/src/gmtool.c +++ b/src/gmtool.c @@ -271,7 +271,7 @@ paint_map(window * wnd, const state * st) attr |= A_REVERSE; } } - if (mr->r && mr->r->flags & RF_MAPPER_HIGHLIGHT) hl = 1; + if (mr->r && (mr->r->flags & RF_MAPPER_HIGHLIGHT)) hl = 1; mvwaddch(win, yp, xp, mr_tile(mr, hl) | attr); } }