* src/summaryview.c
[claws.git] / src / summaryview.c
index 15ee1f1..5409843 100644 (file)
@@ -2287,11 +2287,11 @@ static void summary_set_header(SummaryView *summaryview, gchar *text[],
                        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;
+                       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;
                        }
                }
        }