aboutsummaryrefslogtreecommitdiffstats
path: root/search.c
diff options
context:
space:
mode:
authorokan2014-09-15 13:00:49 +0000
committerokan2014-09-15 13:00:49 +0000
commita826ef268d5ad05429f4b269d6961839bae35822 (patch)
tree3d5f980cd888467292cd667225a45bdc48a1d802 /search.c
parent84082493cb81b61f9b42cf9528cfe7e29c6594ad (diff)
downloadcwm-a826ef268d5ad05429f4b269d6961839bae35822.tar.gz
use similiar style for client flags
Diffstat (limited to '')
-rw-r--r--search.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/search.c b/search.c
index 1c3f22a..7e55a51 100644
--- a/search.c
+++ b/search.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: search.c,v 1.40 2014/09/07 19:27:30 okan Exp $
+ * $OpenBSD: search.c,v 1.41 2014/09/15 13:00:49 okan Exp $
*/
#include <sys/param.h>
@@ -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));