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 ffa3f5f9d5ed45897dc2938314519f0a901a448f..ce0293dce948c6f76e435dc70fd7c0ffd5ff550c 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 8a06d34d7826d7c8f41814abaaed56b8a908282f..5b3cea61e4984f1f5e1d91ca973cac7c9c21b547 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)) {