aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-07-18 06:02:55 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-07-18 06:02:55 +0000
commitc53d8de733d96c2ab089b582814e94cc0c3a45da (patch)
tree611d342fe4a0a40bd5c02a42babe08a5cec34bf8
parent1256b13f9fbcc30afbb116f5e97881bbd4ab4d7c (diff)
fixed wrong null check of reply target on reedit.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1870 ee746299-78ed-0310-b773-934348b2243d
-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);
}
}