]> code.citadel.org Git - citadel.git/commitdiff
* When <R>eply is selected in the message reading loop, the
authorArt Cancro <ajc@citadel.org>
Sat, 24 Mar 2007 04:56:26 +0000 (04:56 +0000)
committerArt Cancro <ajc@citadel.org>
Sat, 24 Mar 2007 04:56:26 +0000 (04:56 +0000)
recipient address is now constructed using the full
Display Name <user@domain.org>  syntax.  This is important because
it allows the auto-populated address book to be more coherent.
* r5047 inadvertently removed part of another tag in addition to the hardcoded
  banner color.  Repaired the tag.

webcit/messages.c
webcit/webcit.c

index f670cb1547aa4f6901c90c759fa570307c4c51f2..3a198e93fb6033c98dd2989cca0fe59d68148214 100644 (file)
@@ -849,7 +849,12 @@ void read_message(long msgnum, int printable_view, char *section) {
 
        /** Generate a reply-to address */
        if (strlen(rfca) > 0) {
-               strcpy(reply_to, rfca);
+               if (strlen(from) > 0) {
+                       snprintf(reply_to, sizeof(reply_to), "%s <%s>", from, rfca);
+               }
+               else {
+                       strcpy(reply_to, rfca);
+               }
        }
        else {
                if ( (strlen(node) > 0)
index 9537cca16286a47babdccf72e32e59f9ef69699e..92ee595e69e04eef55474142f1b14ef2815372af 100644 (file)
@@ -763,6 +763,7 @@ void url_do_template(void) {
 void offer_start_page(void) {
        wprintf("<a href=\"change_start_page?startpage=");
        urlescputs(WC->this_page);
+       wprintf("\">");
        wprintf(_("Make this my start page"));
        wprintf("</a>");
 /*