From bbd8e738a42bf12ae770b496f34886f5a82ed40f Mon Sep 17 00:00:00 2001 From: "Alexander S. Aganichev" Date: Mon, 15 Oct 2001 05:20:19 +0000 Subject: [PATCH] Fixed AreaReplyDirect operation --- golded3/getpls.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/golded3/getpls.cpp b/golded3/getpls.cpp index 9d9face..dab043f 100644 --- a/golded3/getpls.cpp +++ b/golded3/getpls.cpp @@ -1016,7 +1016,7 @@ void ReplyMsg() { if(CurrArea == OrigArea) { const char *destarea = reader_msg->areakludgeid; - if ((destarea != NULL) and (*destarea != NUL)) + if ((destarea == NULL) or (*destarea == NUL)) destarea = AA->Areareplyto(); if(AA->Areareplydirect() and (destarea != NULL)) { @@ -1052,7 +1052,7 @@ void QuoteMsg(bool ignore_replyto) { if(CurrArea == OrigArea) { const char *destarea = reader_msg->areakludgeid; - if ((destarea != NULL) and (*destarea != NUL)) + if ((destarea == NULL) or (*destarea == NUL)) destarea = AA->Areareplyto(); if(AA->Areareplydirect() and (destarea != NULL)) { @@ -1088,7 +1088,7 @@ void CommentMsg() { if(CurrArea == OrigArea) { const char *destarea = reader_msg->areakludgeid; - if ((destarea != NULL) and (*destarea != NUL)) + if ((destarea == NULL) or (*destarea == NUL)) destarea = AA->Areareplyto(); if(AA->Areareplydirect() and (destarea != NULL)) {