Fix a logic error introduced in previous commit.
This commit is contained in:
parent
567b040b6b
commit
226efcbfa4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue