diff options
Diffstat (limited to 'plugins/Db3x_mmap/src/init.cpp')
-rw-r--r-- | plugins/Db3x_mmap/src/init.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Db3x_mmap/src/init.cpp b/plugins/Db3x_mmap/src/init.cpp index 461b64be1d..4938ae9cba 100644 --- a/plugins/Db3x_mmap/src/init.cpp +++ b/plugins/Db3x_mmap/src/init.cpp @@ -89,8 +89,8 @@ static int UnloadDatabase(MIDatabase* db) MIDatabaseChecker* CheckDb(const TCHAR* profile, int *error)
{
- std::auto_ptr<CDb3Mmap> db( new CDb3Mmap(profile));
- if (db->Load(true) != ERROR_SUCCESS) {
+ std::auto_ptr<CDb3Mmap> db(new CDb3Mmap(profile));
+ if (db->Load(false) != ERROR_SUCCESS) {
*error = EGROKPRF_CANTREAD;
return NULL;
}
|