summaryrefslogtreecommitdiff
path: root/src/mir_app/src/db_intf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_app/src/db_intf.cpp')
-rw-r--r--src/mir_app/src/db_intf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/db_intf.cpp b/src/mir_app/src/db_intf.cpp
index af6ab6c1f9..16ec3a4e16 100644
--- a/src/mir_app/src/db_intf.cpp
+++ b/src/mir_app/src/db_intf.cpp
@@ -48,7 +48,7 @@ MIR_APP_DLL(DATABASELINK*) FindDatabasePlugin(const wchar_t *ptszFileName)
{
for (auto &it : arDbPlugins) {
int error = it->grokHeader(ptszFileName);
- if (error == ERROR_SUCCESS || error == EGROKPRF_OBSOLETE)
+ if (error == EGROKPRF_NOERROR || error == EGROKPRF_OBSOLETE)
return it;
}