Actually display "(No From)" in messageview's From column when appropriate.
authorAndrej Kacian <ticho@claws-mail.org>
Fri, 1 Aug 2014 08:28:07 +0000 (10:28 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Fri, 1 Aug 2014 08:28:07 +0000 (10:28 +0200)
src/summaryview.c

index d1f2eee..4986a65 100644 (file)
@@ -3350,7 +3350,7 @@ static inline void summary_set_header(SummaryView *summaryview, gchar *text[],
                        extract_address(from_text);
                }
                if (!from_text)
-                       _("(No From)");         
+                       from_text = _("(No From)");
        } else {
                gchar *tmp = summary_complete_address(msginfo->from);
                if (tmp) {
@@ -3368,7 +3368,7 @@ static inline void summary_set_header(SummaryView *summaryview, gchar *text[],
                                        extract_address(from_text);
                        }
                        if (!from_text)
-                               _("(No From)");         
+                               from_text = _("(No From)");
                }
        }