]> code.citadel.org Git - citadel.git/blobdiff - webcit/messages.c
* Integrated the first batch of new icons.
[citadel.git] / webcit / messages.c
index 75d00be54b89612834c119ed0917238f1bf0f16c..f6d6a3dcc9a6f576e85c59f684fbe897b6755579 100644 (file)
@@ -333,7 +333,7 @@ void display_parsed_vcard(struct vCard *v, int full) {
                if (pass == 1) {
                        wprintf("<TR BGCOLOR=\"#AAAAAA\">"
                        "<TD COLSPAN=2 BGCOLOR=\"#FFFFFF\">"
-                       "<IMG ALIGN=CENTER SRC=\"/static/vcard.gif\">"
+                       "<IMG ALIGN=CENTER SRC=\"/static/savecontact_48x.gif\">"
                        "<FONT SIZE=+1><B>");
                        escputs(displayname);
                        wprintf("</B></FONT>");
@@ -741,7 +741,9 @@ void summarize_message(long msgnum, int is_new) {
                        strcpy(summ.from, &buf[5]);
                }
                if (!strncasecmp(buf, "subj=", 5)) {
-                       strcpy(summ.subj, &buf[5]);
+                       if (strlen(&buf[5]) > 0) {
+                               strcpy(summ.subj, &buf[5]);
+                       }
                }
                /* if (!strncasecmp(buf, "rfca=", 5)) {
                        strcat(summ.from, " <");