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

@@ -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();