summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IcqOscarJ/src/log.cpp')
-rw-r--r--protocols/IcqOscarJ/src/log.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/IcqOscarJ/src/log.cpp b/protocols/IcqOscarJ/src/log.cpp
index 4688dbe1c4..c3c73afc4b 100644
--- a/protocols/IcqOscarJ/src/log.cpp
+++ b/protocols/IcqOscarJ/src/log.cpp
@@ -55,7 +55,7 @@ void __cdecl CIcqProto::icq_LogMessageThread(void* arg)
bErrorBoxVisible = TRUE;
if (err->szMsg && err->szTitle)
- MessageBoxUtf(NULL, err->szMsg, err->szTitle, MB_OK);
+ MessageBoxUtf(nullptr, err->szMsg, err->szTitle, MB_OK);
SAFE_FREE((void**)&err->szMsg);
SAFE_FREE((void**)&err);
bErrorBoxVisible = FALSE;
@@ -85,7 +85,7 @@ void CIcqProto::icq_LogUsingErrorCode(int level, DWORD dwError, const char *szMs
char str[1024];
char str2[64];
char szErrorMsg[512];
- char *pszErrorMsg = NULL;
+ char *pszErrorMsg = nullptr;
int bNeedFree = FALSE;
switch (dwError) {
@@ -120,7 +120,7 @@ void CIcqProto::icq_LogUsingErrorCode(int level, DWORD dwError, const char *szMs
default:
wchar_t err[512];
- if (FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, NULL, dwError, 0, err, _countof(err), NULL)) {
+ if (FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, nullptr, dwError, 0, err, _countof(err), nullptr)) {
pszErrorMsg = make_utf8_string(err);
bNeedFree = TRUE;
}