cedric pushed a commit to branch enlightenment-0.17.

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

commit f70aa55583c0ea0587195dfe514a4262a24f4a6c
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Sun Feb 8 11:53:45 2015 -0500

    enlightenment: Don't crash if fwin app dialog has no exec_cmd
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/modules/fileman/e_fwin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/fileman/e_fwin.c b/src/modules/fileman/e_fwin.c
index fe97ea4..0421b23 100644
--- a/src/modules/fileman/e_fwin.c
+++ b/src/modules/fileman/e_fwin.c
@@ -2792,7 +2792,7 @@ _e_fwin_cb_open(void *data,
           }
      }
 
-   if ((desktop) || (strcmp(fad->exec_cmd, "")))
+   if ((fad->exec_cmd) && (strcmp(fad->exec_cmd, "")))
      _e_fwin_desktop_run(desktop, fad->fwin->cur_page, EINA_FALSE);
 
    efreet_desktop_free(desktop);

-- 


Reply via email to