fix bug [688596] Reply-to header in news
authorPaul Mangan <paul@claws-mail.org>
Wed, 19 Feb 2003 10:50:16 +0000 (10:50 +0000)
committerPaul Mangan <paul@claws-mail.org>
Wed, 19 Feb 2003 10:50:16 +0000 (10:50 +0000)
ChangeLog.claws
configure.ac
src/compose.c

index c052ebb2755347e61542880434810838048e8703..89948d6372dc6e79fede15cea483c28fab285f9d 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-19 [paul]      0.8.10claws26
+
+       * src/compose.c
+               fix bug [688596] Reply-to header in news
+
 2003-02-18 [paul]      0.8.10claws25
 
        * src/select-keys.c
 2003-02-18 [paul]      0.8.10claws25
 
        * src/select-keys.c
index 7841f59ccd9c8b19e7e9e73d54a5c7fccbf39ebd..ef7f549b53ad5385516d6fb360be3357b8eda718 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=10
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=10
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws25
+EXTRA_VERSION=claws26
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index ae5a5ab9dd90bf0621599a5d1f0c5c00978699d3..528117ea86b535d76b77dc63584d9f0d8d9146ee 100644 (file)
@@ -1681,13 +1681,17 @@ static void compose_reply_set_entry(Compose *compose, MsgInfo *msginfo,
                                 compose->followup_to ? compose->followup_to :
                                 compose->newsgroups ? compose->newsgroups : "",
                                 COMPOSE_NEWSGROUPS);
                                 compose->followup_to ? compose->followup_to :
                                 compose->newsgroups ? compose->newsgroups : "",
                                 COMPOSE_NEWSGROUPS);
-               } else {
+               } 
+               else if (compose->replyto) 
+                       compose_entry_append
+                               (compose,compose->replyto,
+                                COMPOSE_TO);                                           
+               else 
                        compose_entry_append
                                (compose,
                                 compose->followup_to ? compose->followup_to :
                                 compose->newsgroups ? compose->newsgroups : "",
                                 COMPOSE_NEWSGROUPS);
                        compose_entry_append
                                (compose,
                                 compose->followup_to ? compose->followup_to :
                                 compose->newsgroups ? compose->newsgroups : "",
                                 COMPOSE_NEWSGROUPS);
-               }
        }
 
        if (msginfo->subject && *msginfo->subject) {
        }
 
        if (msginfo->subject && *msginfo->subject) {