devilhorns pushed a commit to branch master.

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

commit 96b3a04192f30c79b66cf8eae809d411998f9cda
Author: Chris Michael <[email protected]>
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 <[email protected]>
---
 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 4d90d5e..ac1c5f4 100644
--- a/src/modules/fileman/e_fwin.c
+++ b/src/modules/fileman/e_fwin.c
@@ -2823,7 +2823,7 @@ _e_fwin_cb_open(void *data,
           }
      }
 
-   if (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