Fix crash at startup when scan enabled
This commit is contained in:
parent
12138e1af6
commit
e44ee6a113
@ -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) {
|
int AreaList::AreaScan(int mode, uint currno, int pmscan, int& pmails, int& pmareas, const char* file) {
|
||||||
|
|
||||||
// Never scan if there's active area
|
// Never scan if there's active area
|
||||||
if(AA->isopen())
|
if(AA and AA->isopen())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
gstrarray bag;
|
gstrarray bag;
|
||||||
|
Reference in New Issue
Block a user