diff options
author | George Hazan <ghazan@miranda.im> | 2020-06-10 22:02:52 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-06-10 22:02:52 +0300 |
commit | 210acddc8bc8d48c7a3d71c09db0eed3f5a9c2b0 (patch) | |
tree | 2a1041f133ed8884f7f979ea085482f245bd85fc /plugins/Dbx_mdbx | |
parent | a5f518e4cbfd3b47c62d2ef5b524ae1252af9e35 (diff) |
fixes #2438 (Jabber: списки приватности странно себя ведут) + some another DoModal() calls cleaning
Diffstat (limited to 'plugins/Dbx_mdbx')
-rw-r--r-- | plugins/Dbx_mdbx/src/dbcrypt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_mdbx/src/dbcrypt.cpp b/plugins/Dbx_mdbx/src/dbcrypt.cpp index 1b22fa6618..037cd655dc 100644 --- a/plugins/Dbx_mdbx/src/dbcrypt.cpp +++ b/plugins/Dbx_mdbx/src/dbcrypt.cpp @@ -233,7 +233,7 @@ int CDbxMDBX::InitCrypt() if (!m_crypto->setKey((const BYTE*)value.iov_base, value.iov_len)) {
CEnterPasswordDialog dlg(this);
while (true) {
- if (dlg.DoModal() != IDOK)
+ if (!dlg.DoModal())
return 4;
m_crypto->setPassword(pass_ptrA(mir_utf8encodeW(dlg.m_newPass)));
|