aboutsummaryrefslogtreecommitdiff
path: root/src
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 /src
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
Diffstat (limited to 'src')
-rw-r--r--src/compose.c5
1 files changed, 3 insertions, 2 deletions
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);
}
}