Fix crash at startup when scan enabled

This commit is contained in:
Alexander S. Aganichev 2000-12-19 10:19:20 +00:00
parent 12138e1af6
commit e44ee6a113

View File

@ -108,7 +108,7 @@ int AreaList::SetActiveAreaNo(int __areano) {
int AreaList::AreaScan(int mode, uint currno, int pmscan, int& pmails, int& pmareas, const char* file) {
// Never scan if there's active area
if(AA->isopen())
if(AA and AA->isopen())
return false;
gstrarray bag;