englebass pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=43a4f21e0665a166a366832d1f6830901fe281c9

commit 43a4f21e0665a166a366832d1f6830901fe281c9
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 b77342a..002650b 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)
                          {

-- 


Reply via email to