allow elm_init() being called with NULL argc/argv.

SVN revision: 47496
This commit is contained in:
Gustavo Sverzut Barbieri 2010-03-27 01:19:05 +00:00
parent 68321b408a
commit 5d36cbef7a
1 changed files with 1 additions and 1 deletions

View File

@ -601,7 +601,7 @@ elm_quicklaunch_init(int argc, char **argv)
_elm_exit_handler = ecore_event_handler_add(ECORE_EVENT_SIGNAL_EXIT, _elm_signal_exit, NULL);
_elm_appname = strdup(ecore_file_file_get(argv[0]));
if (argv) _elm_appname = strdup(ecore_file_file_get(argv[0]));
if (!_elm_data_dir)
{