aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-04-13 11:32:58 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-04-13 11:32:58 +0800
commit3b1e3a9de11ec58e31904acdca9db518da410b6a (patch)
tree7d42f90ead9402f2c93eb98d2b91fd292ece4de3 /mail/em-folder-tree.c
parent605d797d7f6b7d68035fec708a2ef1b83033a3c1 (diff)
downloadgsoc2013-evolution-3b1e3a9de11ec58e31904acdca9db518da410b6a.tar.gz
gsoc2013-evolution-3b1e3a9de11ec58e31904acdca9db518da410b6a.tar.zst
gsoc2013-evolution-3b1e3a9de11ec58e31904acdca9db518da410b6a.zip
** See bug #273752
2005-04-12 Not Zed <NotZed@Ximian.com> ** See bug #273752 * em-folder-tree.c (emft_drop_folder_rec): handle NULL "parent_name" - dropping to store node. svn path=/trunk/; revision=29206
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r--mail/em-folder-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index a663022298..d0e34e9e83 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -833,7 +833,7 @@ emft_drop_folder_rec (CamelStore *store, CamelFolderInfo *fi, const char *parent
break;
/* handles dropping to the root properly */
- if (parent_name[0])
+ if (parent_name && parent_name[0])
new_name = g_strdup_printf ("%s/%s", parent_name, src->name);
else
new_name = g_strdup (src->name);