diff options
author | George Hazan <ghazan@miranda.im> | 2021-01-07 19:37:08 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-01-07 19:37:08 +0300 |
commit | ff65292a817e82bf5fd58811cfa436a8c5232bd9 (patch) | |
tree | 697237c9680b0212e8d8cc24fcbb75cdae4554fd /plugins/Dbx_mdbx/src/ui.cpp | |
parent | 5508a77c6103f979697dd72d5a72347a354d020d (diff) |
more common code moved to MDatabaseCommon
Diffstat (limited to 'plugins/Dbx_mdbx/src/ui.cpp')
-rw-r--r-- | plugins/Dbx_mdbx/src/ui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_mdbx/src/ui.cpp b/plugins/Dbx_mdbx/src/ui.cpp index c788d5b0ec..971f31c8db 100644 --- a/plugins/Dbx_mdbx/src/ui.cpp +++ b/plugins/Dbx_mdbx/src/ui.cpp @@ -48,7 +48,7 @@ static bool CheckOldPassword(HWND hwndDlg, CDbxMDBX *db) wchar_t buf[100];
GetDlgItemText(hwndDlg, IDC_OLDPASS, buf, _countof(buf));
pass_ptrA oldPass(mir_utf8encodeW(buf));
- if (!db->m_crypto->checkPassword(oldPass))
+ if (!db->getCrypt()->checkPassword(oldPass))
{
SetDlgItemText(hwndDlg, IDC_HEADERBAR, TranslateT("Wrong old password entered!"));
return false;
|