[Commits] [SCM] claws branch, master, updated. 3.11.1-188-g226efcb
ticho at claws-mail.org
ticho at claws-mail.org
Wed Jul 1 21:31:33 CEST 2015
The branch, master has been updated
via 226efcbfa441f121d1b12a2ad43d830865e50e2d (commit)
from 567b040b6b814b6d6f01bf1a59adb1865f623511 (commit)
Summary of changes:
src/folder.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 226efcbfa441f121d1b12a2ad43d830865e50e2d
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Wed Jul 1 21:30:50 2015 +0200
Fix a logic error introduced in previous commit.
diff --git a/src/folder.c b/src/folder.c
index 06f12cb..081c4b1 100644
--- a/src/folder.c
+++ b/src/folder.c
@@ -4816,7 +4816,7 @@ gint folder_item_search_msgs_local (Folder *folder,
gboolean folder_local_name_ok(const gchar *name)
{
#ifdef G_OS_WIN32
- if (name[0] == '.' || new_folder[strlen(name) - 1]) {
+ if (name[0] == '.' || new_folder[strlen(name) - 1] == '.') {
alertpanel_error(_("A folder name cannot begin or end with a dot.");
return FALSE;
}
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list