From 43a4f21e0665a166a366832d1f6830901fe281c9 Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Tue, 10 Dec 2013 20:30:15 +0100 Subject: [PATCH] e: double paranthesis as gcc suggests Since we assign and check for true value in one operation, use double paranthesis. --- src/bin/e_actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_actions.c b/src/bin/e_actions.c index b77342a0d..002650bd6 100644 --- a/src/bin/e_actions.c +++ b/src/bin/e_actions.c @@ -829,7 +829,7 @@ ACT_FN_GO(window_border_cycle, __UNUSED__) { const char *bdname = params; - while (space = strchr(bdname, ' ')) + while ((space = strchr(bdname, ' '))) { if (strncmp(bd->bordername, bdname, space - bdname) == 0) {