enlightenment: Don't crash if fwin app dialog has no exec_cmd

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-02-08 11:53:45 -05:00 committed by Cedric BAIL
parent ea409b235e
commit f70aa55583
1 changed files with 1 additions and 1 deletions

View File

@ -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);