enlightenment: Don't crash if fwin app dialog has no exec_cmd
authorChris Michael <cp.michael@samsung.com>
Sun, 8 Feb 2015 16:53:45 +0000 (11:53 -0500)
committerChris Michael <cp.michael@samsung.com>
Sun, 8 Feb 2015 16:53:45 +0000 (11:53 -0500)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/modules/fileman/e_fwin.c

index 4d90d5e36c7868afb048b3b21cadc25f5ae0d671..ac1c5f46c221a1d1f028781d1382ecd162da8840 100644 (file)
@@ -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);