elementary: don't crash when argv is NULL.

SVN revision: 66604
This commit is contained in:
Cedric BAIL 2011-12-28 15:19:31 +00:00
parent 502c4284a1
commit 229b3bf102
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ elm_quicklaunch_init(int argc,
if (argv) _elm_appname = strdup(ecore_file_file_get(argv[0]));
pfx = eina_prefix_new(argv[0], elm_quicklaunch_init,
pfx = eina_prefix_new(argv ? argv[0] : NULL, elm_quicklaunch_init,
"ELM", "elementary", "config/profile.cfg",
PACKAGE_LIB_DIR, /* don't have a bin dir currently */
PACKAGE_LIB_DIR,