[Commits] [SCM] claws branch, master, updated. 3.14.0-92-g94fb81e

ticho at claws-mail.org ticho at claws-mail.org
Sun Sep 25 00:20:03 CEST 2016


The branch, master has been updated
       via  94fb81e08689930bb236c163d30d7bb65dfac5f4 (commit)
      from  20ece29edf92ee9aa6e8e80a4cec0842b162108c (commit)

Summary of changes:
 src/mh.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 94fb81e08689930bb236c163d30d7bb65dfac5f4
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Sun Sep 25 00:19:50 2016 +0200

    Fix absolute path detection in mh_create_tree() on Windows.

diff --git a/src/mh.c b/src/mh.c
index 3798c64..a54de02 100644
--- 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
-	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);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list