cedric pushed a commit to branch enlightenment-0.17. http://git.enlightenment.org/core/enlightenment.git/commit/?id=5fbac0819fe19230283ded157728fb2cd446b3df
commit 5fbac0819fe19230283ded157728fb2cd446b3df Author: Sebastian Dransfeld <[email protected]> Date: Tue Dec 10 20:30:15 2013 +0100 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 4478cae..b28b06c 100644 --- a/src/bin/e_actions.c +++ b/src/bin/e_actions.c @@ -831,7 +831,7 @@ ACT_FN_GO(window_border_cycle, __UNUSED__) { const char *bdname = params; - while (bdname && (space = strchr(bdname, ' '))) + while ((space = strchr(bdname, ' '))) { if (strncmp(bd->bordername, bdname, space - bdname) == 0) { --
