discomfitor pushed a commit to branch enlightenment-0.19.

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

commit a521fe6820b368bd3ffd1b7e17f99a2ecc36d440
Author: Chidambar Zinnoury <chidambar.zinno...@zefla.fr>
Date:   Sun Oct 4 16:35:43 2015 +0200

     e menus: Fix invalid comparisons.
    
     Fixes CID 1267215 and 1267216.
---
 src/bin/e_int_menus.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_int_menus.c b/src/bin/e_int_menus.c
index f12bfe2..656d166 100644
--- a/src/bin/e_int_menus.c
+++ b/src/bin/e_int_menus.c
@@ -1326,7 +1326,7 @@ _e_int_menus_clients_add_by_desk(E_Desk *curr_desk, 
Eina_List *clients, E_Menu *
    /* Deal with present desk first */
    EINA_LIST_FOREACH(clients, l, ec)
      {
-        if (ec->iconic && e_config->clientlist_separate_iconified_apps && 
E_CLIENTLIST_GROUPICONS_SEP)
+        if (ec->iconic && (e_config->clientlist_separate_iconified_apps == 
E_CLIENTLIST_GROUPICONS_SEP))
           {
              ico = eina_list_append(ico, ec);
              continue;
@@ -1397,8 +1397,7 @@ _e_int_menus_clients_add_by_none(Eina_List *clients, 
E_Menu *m)
 
    EINA_LIST_FOREACH(clients, l, ec)
      {
-        if ((ec->iconic) && (e_config->clientlist_separate_iconified_apps) &&
-            (E_CLIENTLIST_GROUPICONS_SEP))
+        if ((ec->iconic) && (e_config->clientlist_separate_iconified_apps == 
E_CLIENTLIST_GROUPICONS_SEP))
           {
              ico = eina_list_append(ico, ec);
              continue;

-- 


Reply via email to