From fe5e7d7f82d82dc82d045fca77b00af5308d4bf2 Mon Sep 17 00:00:00 2001 From: hiro Date: Tue, 25 Jan 2005 11:15:54 +0000 Subject: removed a warning. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@40 ee746299-78ed-0310-b773-934348b2243d --- src/inc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/inc.c b/src/inc.c index a8373999..dea36cfe 100644 --- a/src/inc.c +++ b/src/inc.c @@ -168,7 +168,8 @@ static void inc_finished(MainWindow *mainwin, gboolean new_messages) folderview_select(mainwin->folderview, item); } else if (prefs_common.scan_all_after_inc) { item = mainwin->summaryview->folder_item; - folderview_update_item(item, TRUE); + if (item) + folderview_update_item(item, TRUE); } } -- cgit v1.2.3