summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src/database.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-08-22 15:23:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-08-22 15:23:04 +0300
commit92fec1aa22df4c4f1213d33663637c00b753f451 (patch)
treecc80e435a189a5d4766bdffd08f9997e7fff51b9 /plugins/Db3x_mmap/src/database.cpp
parent94dde7112f11c5963aa620c692170d02fe65a2a7 (diff)
code cleaning
Diffstat (limited to 'plugins/Db3x_mmap/src/database.cpp')
-rw-r--r--plugins/Db3x_mmap/src/database.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Db3x_mmap/src/database.cpp b/plugins/Db3x_mmap/src/database.cpp
index 82a10d8005..d78dce8e58 100644
--- a/plugins/Db3x_mmap/src/database.cpp
+++ b/plugins/Db3x_mmap/src/database.cpp
@@ -76,7 +76,7 @@ DWORD CDb3Mmap::ReallocSpace(DWORD ofs, int oldSize, int newSize)
/////////////////////////////////////////////////////////////////////////////////////////
static DWORD DatabaseCorrupted = 0;
-static wchar_t *msg = NULL;
+static wchar_t *msg = nullptr;
static DWORD dwErr = 0;
static wchar_t tszPanic[] = LPGENW("Miranda has detected corruption in your database. This corruption may be fixed by DbChecker plugin. Please download it from https://miranda-ng.org/p/DbChecker/. Miranda will now shut down.");
@@ -115,7 +115,7 @@ void CDb3Mmap::DatabaseCorruption(wchar_t *text)
lck.unlock();
if (kill) {
- _beginthread(dbpanic, 0, NULL);
+ _beginthread(dbpanic, 0, nullptr);
Sleep(INFINITE);
}
}