fix account_find_from_address() bug
authorPaul Mangan <paul@claws-mail.org>
Tue, 30 Apr 2002 18:21:07 +0000 (18:21 +0000)
committerPaul Mangan <paul@claws-mail.org>
Tue, 30 Apr 2002 18:21:07 +0000 (18:21 +0000)
src/summaryview.c

index 10d9b6ffb3ba7bb45f5ce9afb4c726d8e39075bd..34ced228eb7037fbaeb8763af10afe8d0fc2d711 100644 (file)
@@ -2272,13 +2272,13 @@ static void summary_set_header(SummaryView *summaryview, gchar *text[],
                if (prefs_common.use_addr_book) {
                        Xstrdup_a(addr, msginfo->from, return);
                        extract_address(addr);
-               }
 
                if (account_find_from_address(addr)) {
                        addr = summary_complete_address(msginfo->to);
                        g_free(to);
                        to   = g_strconcat("-->", addr == NULL ? msginfo->to : addr, NULL);
                        text[col_pos[S_COL_FROM]] = to;
+                       }
                }
        }