summary refs log tree commit diff
path: root/search.c
diff options
context:
space:
mode:
authorokan <okan>2014-09-15 13:00:49 +0000
committerokan <okan>2014-09-15 13:00:49 +0000
commit4b6dc963983906e9a2866565da003840037dff23 (patch)
treed754dc30697e8292bbed8eedf6c5c6fa1aed1901 /search.c
parent26b95de0194865a3638689d48e61221f90b9b73b (diff)
downloadcwm-4b6dc963983906e9a2866565da003840037dff23.tar.gz
cwm-4b6dc963983906e9a2866565da003840037dff23.tar.xz
cwm-4b6dc963983906e9a2866565da003840037dff23.zip
use similiar style for client flags
Diffstat (limited to 'search.c')
-rw-r--r--search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/search.c b/search.c
index adb2f60..f0b22ce 100644
--- a/search.c
+++ b/search.c
@@ -102,7 +102,7 @@ search_match_client(struct menu_q *menuq, struct menu_q *resultq, char *search)
 			tier++;
 
 		/* Clients that are hidden get ranked one up. */
-		if (cc->flags & CLIENT_HIDDEN && tier > 0)
+		if ((cc->flags & CLIENT_HIDDEN) && (tier > 0))
 			tier--;
 
 		assert(tier < nitems(tierp));