From e44ee6a11338c80c5f0c14e13a41353bcbefec11 Mon Sep 17 00:00:00 2001 From: "Alexander S. Aganichev" Date: Tue, 19 Dec 2000 10:19:20 +0000 Subject: [PATCH] Fix crash at startup when scan enabled --- golded3/gescan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golded3/gescan.cpp b/golded3/gescan.cpp index 43bd46a..74fc4f3 100644 --- a/golded3/gescan.cpp +++ b/golded3/gescan.cpp @@ -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;