aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--ChangeLog.ja4
-rw-r--r--src/compose.c5
3 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b7f8df4b..135c03f4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-07-18
+
+ * src/compose.c: compose_parse_source_msg(): fixed wrong null check.
+
2007-07-17
* src/mimeview.c: mimeview_reply(): remove file after reply.
diff --git a/ChangeLog.ja b/ChangeLog.ja
index 464589b6..c156cc70 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,3 +1,7 @@
+2007-07-18
+
+ * src/compose.c: compose_parse_source_msg(): 誤ったnullチェックを修正。
+
2007-07-17
* src/mimeview.c: mimeview_reply(): 返信後にファイルを削除。
diff --git a/src/compose.c b/src/compose.c
index fa228341..bc374437 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -1579,9 +1579,10 @@ static gint compose_parse_source_msg(Compose *compose, MsgInfo *msginfo)
while (g_ascii_isspace(*str))
++str;
if ((hnum == H_X_SYLPHEED_REPLY || hnum == H_REP) &&
- !compose->replyto) {
+ !compose->reply_target) {
compose->reply_target = g_strdup(str);
- } else if (hnum == H_X_SYLPHEED_FORWARD || hnum == H_FWD) {
+ } else if ((hnum == H_X_SYLPHEED_FORWARD || hnum == H_FWD) &&
+ !compose->forward_targets) {
compose->forward_targets = g_strdup(str);
}
}