projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix absolute path detection in mh_create_tree() on Windows.
[claws.git]
/
src
/
mh.c
diff --git
a/src/mh.c
b/src/mh.c
index 3798c64cc6d3c496da6afd809979a5a8ee41b16a..a54de02ba40877d71a66868f236dffed6d04fe91 100644
(file)
--- a/
src/mh.c
+++ b/
src/mh.c
@@
-792,7
+792,7
@@
static gint mh_create_tree(Folder *folder)
#ifdef G_OS_UNIX
if (*rootpath == '/') {
#elif defined G_OS_WIN32
#ifdef G_OS_UNIX
if (*rootpath == '/') {
#elif defined G_OS_WIN32
- if (g_ascii_isalpha(*rootpath) && !strncmp(rootpath + 1, "
\:
", 2)) {
+ if (g_ascii_isalpha(*rootpath) && !strncmp(rootpath + 1, "
:\\
", 2)) {
#endif
/* Folder path is absolute. */
rootpath = g_strdup(rootpath);
#endif
/* Folder path is absolute. */
rootpath = g_strdup(rootpath);