projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94fb81e
)
Change home directory fallback to "C:\Claws-mail" on Windows.
author
Andrej Kacian
<ticho@claws-mail.org>
Sun, 25 Sep 2016 14:22:16 +0000
(16:22 +0200)
committer
Andrej Kacian
<ticho@claws-mail.org>
Sun, 25 Sep 2016 14:22:16 +0000
(16:22 +0200)
It is unlikely ever to be used, since CSIDL_APPDATA special
folder is guaranteed to be defined, but still...
src/common/utils.c
patch
|
blob
|
history
diff --git
a/src/common/utils.c
b/src/common/utils.c
index 053a0b04f7a094671c8d0e63e637807868dc65ad..ad67d3cac9f42b9c6685ab9ca80d7a1446ac1a64 100644
(file)
--- 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;