From 05ac003683afb1a32965144e6281324653b6e172 Mon Sep 17 00:00:00 2001 From: "Alexander S. Aganichev" Date: Fri, 4 Jan 2002 21:25:30 +0000 Subject: [PATCH] Fixed date for the changed messages --- docs/notework.txt | 2 ++ golded3/gepost.cpp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/notework.txt b/docs/notework.txt index de8fd7d..361a332 100644 --- a/docs/notework.txt +++ b/docs/notework.txt @@ -12,6 +12,8 @@ ______________________________________________________________________ Notes for GoldED+ 1.1.5, /snapshot/ ______________________________________________________________________ +- Fixed "EditChangeDate Always" operation. + ! AREALISTSORT letters a bit changed in the way they processed: P - sort by personal mail count, not by the presence Y - sort by changing from last scan (the same criteria as used for diff --git a/golded3/gepost.cpp b/golded3/gepost.cpp index 0b5b0f4..20875af 100644 --- a/golded3/gepost.cpp +++ b/golded3/gepost.cpp @@ -811,8 +811,8 @@ void MakeMsg(int mode, GMsg* omsg, bool ignore_replyto) { // Set msg date and time bool dochgdate = true; if(mode == MODE_CHANGE) { - dochgdate = EDIT->ChangeDate(); - if(dochgdate and not msg->attr.fmu()) + dochgdate = EDIT->ChangeDate() ? true : false; + if((EDIT->ChangeDate() == YES) and not msg->attr.fmu()) dochgdate = false; } if(dochgdate) {