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