From 23f676163a595018346050eccb5cc8b2571381e6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 22 Jan 2018 22:26:18 +0300 Subject: code cleaning --- plugins/Dbx_mdbx/src/dbcrypt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Dbx_mdbx/src/dbcrypt.cpp') 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; -- cgit v1.2.3