diff options
-rw-r--r-- | mail/ChangeLog | 7 | ||||
-rw-r--r-- | mail/em-folder-tree.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 93a3cd023e..44d6e157d5 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +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. + 2005-04-08 Jeffrey Stedfast <fejj@novell.com> * em-composer-utils.c (em_utils_send_receipt): Simplify the 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); |