diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-09-17 01:55:23 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-09-17 01:55:23 +0000 |
commit | 24c2edfeacce97b6e4c3783c53cbd2532088af95 (patch) | |
tree | 60c953aa34cf66d9306d670e5a4a48a4358b3071 /src | |
parent | 9479896ab983f25c77dbfc6b1847b46ba847e352 (diff) |
folderview_new_folder_cb(): win32: fixed prohibited character check.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2254 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r-- | src/folderview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/folderview.c b/src/folderview.c index 1c0aeb7a..f938e5c1 100644 --- a/src/folderview.c +++ b/src/folderview.c @@ -2287,7 +2287,7 @@ static void folderview_new_folder_cb(FolderView *folderview, guint action, #ifdef G_OS_WIN32 p = strpbrk(new_folder, "\\/:*?\"<>|"); if ((p && FOLDER_TYPE(item->folder) != F_IMAP) || (p && *p != '/') || - (p && p == '/' && + (p && *p == '/' && FOLDER_TYPE(item->folder) == F_IMAP && *(p + 1) != '\0')) { alertpanel_error(_("`%c' can't be included in folder name."), *p); |