diff options
author | George Hazan <ghazan@miranda.im> | 2017-08-22 15:23:04 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-08-22 15:23:04 +0300 |
commit | 92fec1aa22df4c4f1213d33663637c00b753f451 (patch) | |
tree | cc80e435a189a5d4766bdffd08f9997e7fff51b9 /plugins/Db3x_mmap/src/ui.cpp | |
parent | 94dde7112f11c5963aa620c692170d02fe65a2a7 (diff) |
code cleaning
Diffstat (limited to 'plugins/Db3x_mmap/src/ui.cpp')
-rw-r--r-- | plugins/Db3x_mmap/src/ui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Db3x_mmap/src/ui.cpp b/plugins/Db3x_mmap/src/ui.cpp index a704df0bf7..8254a99df4 100644 --- a/plugins/Db3x_mmap/src/ui.cpp +++ b/plugins/Db3x_mmap/src/ui.cpp @@ -81,7 +81,7 @@ static INT_PTR CALLBACK sttEnterPassword(HWND hwndDlg, UINT uMsg, WPARAM wParam, else SetDlgItemText(hwndDlg, IDC_HEADERBAR, TranslateT("Please type in your password"));
oldLangID = 0;
- SetTimer(hwndDlg, 1, 200, NULL);
+ SetTimer(hwndDlg, 1, 200, nullptr);
LanguageChanged(hwndDlg);
return TRUE;
@@ -184,7 +184,7 @@ static INT_PTR CALLBACK sttChangePassword(HWND hwndDlg, UINT uMsg, WPARAM wParam SetWindowLongPtr(hwndDlg, GWLP_USERDATA, lParam);
oldLangID = 0;
- SetTimer(hwndDlg, 1, 200, NULL);
+ SetTimer(hwndDlg, 1, 200, nullptr);
LanguageChanged(hwndDlg);
return TRUE;
@@ -211,7 +211,7 @@ static INT_PTR CALLBACK sttChangePassword(HWND hwndDlg, UINT uMsg, WPARAM wParam }
else {
param->db->WriteSignature(dbSignatureU);
- param->db->SetPassword(NULL);
+ param->db->SetPassword(nullptr);
param->db->StoreKey();
EndDialog(hwndDlg, IDREMOVE);
}
|