From: yoz Date: Wed, 6 Apr 2011 13:57:42 +0000 (+0000) Subject: elementary: correct the homepath on windows from vtorri X-Git-Tag: REL_F_I9500_20120323_1~17^2~2942 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=876e934a09061e48c9852b1eda76d7db0800584f;p=framework%2Fuifw%2Felementary.git elementary: correct the homepath on windows from vtorri git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@58390 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elm_config.c b/src/lib/elm_config.c index dd93832..eb787b9 100644 --- a/src/lib/elm_config.c +++ b/src/lib/elm_config.c @@ -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 = "/";