you should always test you code, shame on me ;)
authorChristoph Hohmann <reboot@gmx.ch>
Wed, 13 Nov 2002 13:35:16 +0000 (13:35 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Wed, 13 Nov 2002 13:35:16 +0000 (13:35 +0000)
src/summaryview.c

index f5fbb8a..72f3a86 100644 (file)
@@ -5292,12 +5292,12 @@ void summary_set_prefs_from_folderitem(SummaryView *summaryview, FolderItem *ite
        summaryview->threaded = item->threaded;
 
        /* Scoring */
-       if (global_scoring || summaryview->folder_item->prefs->scoring) {
+       if (global_scoring || item->prefs->scoring) {
                summaryview->important_score = prefs_common.important_score;
-               if (summaryview->folder_item->prefs->important_score >
+               if (item->prefs->important_score >
                    summaryview->important_score)
                        summaryview->important_score =
-                               summaryview->folder_item->prefs->important_score;
+                               item->prefs->important_score;
        }
 }