commit 244b9cae9f63616168222e9adfa32f26e5388001
parent 94fb81e08689930bb236c163d30d7bb65dfac5f4
Author: Andrej Kacian <ticho@claws-mail.org>
Date: Sun, 25 Sep 2016 16:22:16 +0200
Change home directory fallback to "C:\Claws-mail" on Windows.
It is unlikely ever to be used, since CSIDL_APPDATA special
folder is guaranteed to be defined, but still...
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/common/utils.c b/src/common/utils.c
@@ -1792,7 +1792,7 @@ const gchar *get_home_dir(void)
if (w32_shgetfolderpath
(NULL, CSIDL_APPDATA|CSIDL_FLAG_CREATE,
NULL, 0, home_dir_utf16) < 0)
- strcpy (home_dir_utf16, "C:\\Sylpheed");
+ strcpy (home_dir_utf16, "C:\\Claws Mail");
home_dir_utf8 = g_utf16_to_utf8 ((const gunichar *)home_dir_utf16, -1, NULL, NULL, NULL);
}
return home_dir_utf8;