Fixed date for the changed messages

This commit is contained in:
Alexander S. Aganichev 2002-01-04 21:25:30 +00:00
parent 4ec345818b
commit 05ac003683
2 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,8 @@ ______________________________________________________________________
Notes for GoldED+ 1.1.5, /snapshot/ Notes for GoldED+ 1.1.5, /snapshot/
______________________________________________________________________ ______________________________________________________________________
- Fixed "EditChangeDate Always" operation.
! AREALISTSORT letters a bit changed in the way they processed: ! AREALISTSORT letters a bit changed in the way they processed:
P - sort by personal mail count, not by the presence P - sort by personal mail count, not by the presence
Y - sort by changing from last scan (the same criteria as used for Y - sort by changing from last scan (the same criteria as used for

View File

@ -811,8 +811,8 @@ void MakeMsg(int mode, GMsg* omsg, bool ignore_replyto) {
// Set msg date and time // Set msg date and time
bool dochgdate = true; bool dochgdate = true;
if(mode == MODE_CHANGE) { if(mode == MODE_CHANGE) {
dochgdate = EDIT->ChangeDate(); dochgdate = EDIT->ChangeDate() ? true : false;
if(dochgdate and not msg->attr.fmu()) if((EDIT->ChangeDate() == YES) and not msg->attr.fmu())
dochgdate = false; dochgdate = false;
} }
if(dochgdate) { if(dochgdate) {