forked from enlightenment/efl
elementary: correct the homepath on windows from vtorri
SVN revision: 58390
This commit is contained in:
parent
4ea6131744
commit
11e6a2ea75
|
@ -672,7 +672,11 @@ _elm_user_dir_snprintf(char *dst,
|
|||
size_t user_dir_len, off;
|
||||
va_list ap;
|
||||
|
||||
#ifdef _WIN32
|
||||
home = evil_homedir_get();
|
||||
#else
|
||||
home = getenv("HOME");
|
||||
#endif
|
||||
if (!home)
|
||||
home = "/";
|
||||
|
||||
|
|
Loading…
Reference in New Issue