wow, a segfault hiding, waiting to bite
authorColin Leroy <colin@colino.net>
Thu, 7 Nov 2002 01:03:29 +0000 (01:03 +0000)
committerColin Leroy <colin@colino.net>
Thu, 7 Nov 2002 01:03:29 +0000 (01:03 +0000)
src/folderview.c

index 7ff620e35ea6bdfbd23d7de86b890d14b45ef107..9e9ead87b291776496c75569bc08aa1e5f3f02ce 100644 (file)
@@ -2663,7 +2663,8 @@ static void folderview_drag_received_cb(GtkWidget        *widget,
                STATUSBAR_PUSH(folderview->mainwin, _("Done."));
                main_window_cursor_normal(folderview->mainwin);
                summary_clear_all(folderview->summaryview);
-               folderview_select(folderview, new_item);
+               if (new_item)
+                       folderview_select(folderview, new_item);
        }
 }