summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src/ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Db3x_mmap/src/ui.cpp')
-rw-r--r--plugins/Db3x_mmap/src/ui.cpp6
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);
}