summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_sync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/src/modern_sync.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_sync.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_sync.cpp b/plugins/Clist_modern/src/modern_sync.cpp
index 7285758066..2715e8da36 100644
--- a/plugins/Clist_modern/src/modern_sync.cpp
+++ b/plugins/Clist_modern/src/modern_sync.cpp
@@ -50,7 +50,7 @@ static void CALLBACK _SyncCallerUserAPCProc(void* param)
static int SyncCallAPCProxy(PSYNCCALLBACKPROC pfnProc, WPARAM wParam, LPARAM lParam)
{
- if (pfnProc == NULL)
+ if (pfnProc == nullptr)
return 0;
if (GetCurrentThreadId() == g_dwMainThreadID)
@@ -61,7 +61,7 @@ static int SyncCallAPCProxy(PSYNCCALLBACKPROC pfnProc, WPARAM wParam, LPARAM lPa
item.lParam = lParam;
item.pfnProc = pfnProc;
item.nResult = 0;
- item.hDoneEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
+ item.hDoneEvent = CreateEvent(nullptr, FALSE, FALSE, nullptr);
CallFunctionAsync(_SyncCallerUserAPCProc, &item);