fix quote reply format for newsgroups reply bug
authorPaul Mangan <paul@claws-mail.org>
Tue, 8 Oct 2002 09:43:55 +0000 (09:43 +0000)
committerPaul Mangan <paul@claws-mail.org>
Tue, 8 Oct 2002 09:43:55 +0000 (09:43 +0000)
ChangeLog.claws
src/compose.c
src/procheader.c
src/procmsg.c

index 5e49eb5..9022ad7 100644 (file)
@@ -1,6 +1,11 @@
 2002-10-08 [paul]      0.8.5claws
 
        * 0.8.5claws release
+       
+       * src/compose.c
+         src/procheader.c
+         src/procmsg.c
+               fix quote reply format for newsgroups reply bug
 
 2002-10-07 [paul]      0.8.3claws53
 
index 1fec933..c5b8326 100644 (file)
@@ -1037,7 +1037,7 @@ Compose *compose_forward(PrefsAccount *account, MsgInfo *msginfo,
                        else
                                qmark = "> ";
 
-                       quote_str = compose_quote_fmt(compose, msginfo,
+                       quote_str = compose_quote_fmt(compose, full_msginfo,
                                                      prefs_common.fw_quotefmt,
                                                      qmark, body);
                        compose_attach_parts(compose, msginfo);
index 3dab89a..871f615 100644 (file)
@@ -593,7 +593,7 @@ MsgInfo *procheader_parse_stream(FILE *fp, MsgFlags flags, gboolean full,
                                        g_strconcat(p, ",", hp, NULL);
                                g_free(p);
                        } else
-                               msginfo->newsgroups = g_strdup(buf + 12);
+                               msginfo->newsgroups = g_strdup(hp);
                        break;
                case H_SUBJECT:
                        if (msginfo->subject) break;
index 8e0fad8..770c087 100644 (file)
@@ -1112,8 +1112,8 @@ MsgInfo *procmsg_msginfo_get_full_info(MsgInfo *msginfo)
        full_msginfo->decryption_failed = msginfo->decryption_failed;
 #endif
 
-       /* return full_msginfo;*/
-       return procmsg_msginfo_new_ref(msginfo);
+       return full_msginfo;
+
 }
 
 void procmsg_msginfo_free(MsgInfo *msginfo)