From 244b9cae9f63616168222e9adfa32f26e5388001 Mon Sep 17 00:00:00 2001 From: Andrej Kacian Date: Sun, 25 Sep 2016 16:22:16 +0200 Subject: [PATCH] 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... --- src/common/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/utils.c b/src/common/utils.c index 053a0b04f..ad67d3cac 100644 --- 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; -- 2.25.1