Fixed AreaReplyDirect operation

This commit is contained in:
Alexander S. Aganichev 2001-10-15 05:20:19 +00:00
parent 05b352cded
commit bbd8e738a4

View File

@ -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)) {