elementary: don't crash when argv is NULL.
SVN revision: 66604
This commit is contained in:
parent
502c4284a1
commit
229b3bf102
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue