forked from enlightenment/efl
ecore_file: use portable environment lookup.
This commit is contained in:
parent
94eaaf889b
commit
241d0d3e18
|
@ -869,7 +869,7 @@ ecore_file_app_exe_get(const char *app)
|
|||
p = app;
|
||||
if ((p[0] == '~') && (p[1] == '/'))
|
||||
{
|
||||
const char *home = getenv("HOME");
|
||||
const char *home = eina_environment_home_get();
|
||||
if (home) eina_strbuf_append(buf, home);
|
||||
p++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue