summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Toaster/src/main.cpp')
-rw-r--r--plugins/Toaster/src/main.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Toaster/src/main.cpp b/plugins/Toaster/src/main.cpp
index d97bd34b37..fe4d45943e 100644
--- a/plugins/Toaster/src/main.cpp
+++ b/plugins/Toaster/src/main.cpp
@@ -29,8 +29,8 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD)
{
if (!IsWinVer8Plus())
{
- MessageBox(NULL, TranslateT("This plugin requires Windows 8 or higher"), _T(MODULE), MB_OK | MB_ICONERROR);
- return NULL;
+ MessageBox(nullptr, TranslateT("This plugin requires Windows 8 or higher"), _T(MODULE), MB_OK | MB_ICONERROR);
+ return nullptr;
}
return &pluginInfo;
}
@@ -54,7 +54,7 @@ extern "C" int __declspec(dllexport) Load(void)
}
else
{
- MessageBox(NULL, TranslateT("Failed to create temporary directory"), _T(MODULE), MB_OK | MB_ICONERROR);
+ MessageBox(nullptr, TranslateT("Failed to create temporary directory"), _T(MODULE), MB_OK | MB_ICONERROR);
}
return 0;
@@ -70,13 +70,13 @@ int OnPreShutdown(WPARAM, LPARAM)
CleanupClasses();
SHFILEOPSTRUCT file_op = {
- NULL,
+ nullptr,
FO_DELETE,
wszTempDir,
L"",
FOF_NOERRORUI | FOF_SILENT | FOF_NOCONFIRMATION,
false,
- 0,
+ nullptr,
L""
};
SHFileOperation(&file_op);