Fix crash when message that is marked for copy/move is unmarked.
authorDarko Koruga <darko@users.sourceforge.net>
Wed, 12 Sep 2001 09:25:37 +0000 (09:25 +0000)
committerDarko Koruga <darko@users.sourceforge.net>
Wed, 12 Sep 2001 09:25:37 +0000 (09:25 +0000)
ChangeLog.claws
src/summaryview.c

index ffa3f5f..ce0293d 100644 (file)
@@ -1,3 +1,8 @@
+2001-09-12 [darko]
+       
+       * src/summaryview.c
+               fix crash when message that is marked for copy/move is unmarked
+
 2001-09-09 [paul]
 
        * configure.in
index 8a06d34..5b3cea6 100644 (file)
@@ -2489,7 +2489,6 @@ static void summary_mark_row(SummaryView *summaryview, GtkCTreeNode *row)
        MsgInfo *msginfo;
 
        msginfo = gtk_ctree_node_get_row_data(ctree, row);
-       msginfo->to_folder = NULL;
        if (MSG_IS_DELETED(msginfo->flags))
                summaryview->deleted--;
        if (MSG_IS_MOVE(msginfo->flags)) {
@@ -2715,7 +2714,6 @@ static void summary_unmark_row(SummaryView *summaryview, GtkCTreeNode *row)
        MsgInfo *msginfo;
 
        msginfo = gtk_ctree_node_get_row_data(ctree, row);
-       msginfo->to_folder = NULL;
        if (MSG_IS_DELETED(msginfo->flags))
                summaryview->deleted--;
        if (MSG_IS_MOVE(msginfo->flags)) {