summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdbx/src/dbcrypt.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-01-22 22:26:18 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-01-22 22:26:25 +0300
commit23f676163a595018346050eccb5cc8b2571381e6 (patch)
tree09107aede495a3bebea5bed64a4483ffb3d148e5 /plugins/Dbx_mdbx/src/dbcrypt.cpp
parent36b876e544afe74ce5f7463cdf9502d3b23f3ed6 (diff)
code cleaning
Diffstat (limited to 'plugins/Dbx_mdbx/src/dbcrypt.cpp')
-rw-r--r--plugins/Dbx_mdbx/src/dbcrypt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Dbx_mdbx/src/dbcrypt.cpp b/plugins/Dbx_mdbx/src/dbcrypt.cpp
index 590cf8494a..77c1f1c59b 100644
--- a/plugins/Dbx_mdbx/src/dbcrypt.cpp
+++ b/plugins/Dbx_mdbx/src/dbcrypt.cpp
@@ -141,9 +141,9 @@ void CDbxMDBX::StoreKey()
void CDbxMDBX::SetPassword(const wchar_t *ptszPassword)
{
- if (ptszPassword == NULL || *ptszPassword == 0) {
+ if (ptszPassword == nullptr || *ptszPassword == 0) {
m_bUsesPassword = false;
- m_crypto->setPassword(NULL);
+ m_crypto->setPassword(nullptr);
}
else {
m_bUsesPassword = true;