]> mj.ucw.cz Git - checkmail.git/blobdiff - cm.c
Fixed formatting of sender addresses combined with personal info
[checkmail.git] / cm.c
diff --git a/cm.c b/cm.c
index e7b2e63cf34c71777d74894c8839ab70c3177b0d..257ccec763f221ea0f257e365609454c810e8a06 100644 (file)
--- a/cm.c
+++ b/cm.c
@@ -274,7 +274,7 @@ prepare_snippets(struct mbox *b, char *sender, char *subject)
   if (subject[0])
     add_subject_snippet(&pos, term, subject);
   else
-    add_snippet(&pos, term, "No subject");
+    add_snippet_raw(&pos, term, "No subject");
 }
 
 static void
@@ -283,7 +283,7 @@ build_snippet(char *buf, char *term, struct mbox *b)
   if (b->sender_snippet[0])
     {
       add_snippet(&buf, term, b->sender_snippet);
-      add_snippet(&buf, term, ": ");
+      add_snippet_raw(&buf, term, ": ");
     }
   add_snippet(&buf, term, b->subject_snippet);
 }