projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d919e5f
)
elementary: don't crash when argv is NULL.
author
Cedric BAIL
<cedric.bail@free.fr>
Wed, 28 Dec 2011 15:19:31 +0000
(15:19 +0000)
committer
Cedric BAIL
<cedric.bail@free.fr>
Wed, 28 Dec 2011 15:19:31 +0000
(15:19 +0000)
SVN revision: 66604
src/lib/elm_main.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_main.c
b/src/lib/elm_main.c
index
86c5d4b
..
1e2e787
100644
(file)
--- a/
src/lib/elm_main.c
+++ b/
src/lib/elm_main.c
@@
-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,