discomfitor pushed a commit to branch master.

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

commit 26ab47f6791f5fa35d04e4e82e593a920abab53e
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Jan 7 15:19:20 2016 -0500

    simplify and clarify winlist directional selection action code
    
    in the case where no prev/next direction is specified a navigational
    direction will always be specified
    
    CID 1347403
---
 src/modules/winlist/e_mod_main.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/modules/winlist/e_mod_main.c b/src/modules/winlist/e_mod_main.c
index 36018af..2b17e34 100644
--- a/src/modules/winlist/e_mod_main.c
+++ b/src/modules/winlist/e_mod_main.c
@@ -155,11 +155,8 @@ _e_mod_action_winlist_cb_helper(E_Object *obj EINA_UNUSED, 
const char *params, i
      e_winlist_next();
    else if (direction == -1)
      e_winlist_prev();
-   if (direction) return;
-   
-   if (udlr == -1) return;
-   
-   e_winlist_direction_select(zone, udlr);
+   else
+     e_winlist_direction_select(zone, udlr);
 }
 
 static void

-- 


Reply via email to