summaryrefslogtreecommitdiff
path: root/plugins/DbChecker/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/DbChecker/src')
-rw-r--r--plugins/DbChecker/src/selectdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/DbChecker/src/selectdb.cpp b/plugins/DbChecker/src/selectdb.cpp
index 488eaee5ec..b0d07f458f 100644
--- a/plugins/DbChecker/src/selectdb.cpp
+++ b/plugins/DbChecker/src/selectdb.cpp
@@ -24,7 +24,7 @@ static bool CheckBroken(const TCHAR *ptszFullPath)
if (dblink == NULL || dblink->CheckDB == NULL)
return true;
- return dblink->grokHeader(ptszFullPath) == EGROKPRF_NOERROR;
+ return dblink->grokHeader(ptszFullPath) != EGROKPRF_NOERROR;
}
void OpenDatabase(HWND hdlg, INT iNextPage)