elementary: correct the homepath on windows from vtorri

SVN revision: 58390
This commit is contained in:
Michael BOUCHAUD 2011-04-06 13:57:42 +00:00
parent 4ea6131744
commit 11e6a2ea75
1 changed files with 4 additions and 0 deletions

View File

@ -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 = "/";