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 f5fbb8ae2e3fafcdeee55e27e7cfce66f9119c42..72f3a868d31b6c0964df45fb4da6c43dad8105b4 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;
        }
 }