Fixed sorting for the AREASEP

This commit is contained in:
Alexander S. Aganichev 2001-12-20 16:10:24 +00:00
parent 140773cdc1
commit 535a90acfb
2 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,9 @@ ______________________________________________________________________
Notes for GoldED+ 1.1.5, /snapshot/
______________________________________________________________________
- Fixed arealist sorting so the TYUE in AREALISTSORT will not cause
ugly screen when AREASEP is used.
+ Added ability to READ packed messagebases. You need to add PKD
attribute to such echo definition and specify UNPACKER for the
extension defined. You should pack all files from the single

View File

@ -172,6 +172,8 @@ extern "C" int AreaListCmp(const Area** __a, const Area** __b) {
case 'T':
if((cmp = compare_two(CFG->areatypeorder[A->type()&0xFF], CFG->areatypeorder[B->type()&0xFF])) != 0)
return cmp;
if((cmp = compare_two(b->isseparator(), a->isseparator())) != 0)
return cmp;
break;
case 'U':
aunread = A->Msgn.Count() - A->lastread();