From c53d8de733d96c2ab089b582814e94cc0c3a45da Mon Sep 17 00:00:00 2001 From: hiro Date: Wed, 18 Jul 2007 06:02:55 +0000 Subject: fixed wrong null check of reply target on reedit. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1870 ee746299-78ed-0310-b773-934348b2243d --- ChangeLog | 4 ++++ ChangeLog.ja | 4 ++++ src/compose.c | 5 +++-- 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); } } -- cgit v1.2.3