summaryrefslogtreecommitdiff
path: root/plugins/NotifyAnything/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NotifyAnything/src/options.cpp')
-rw-r--r--plugins/NotifyAnything/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NotifyAnything/src/options.cpp b/plugins/NotifyAnything/src/options.cpp
index 84929e4c7e..abeea38393 100644
--- a/plugins/NotifyAnything/src/options.cpp
+++ b/plugins/NotifyAnything/src/options.cpp
@@ -112,7 +112,7 @@ INT_PTR CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara
buf[0] = '\0';
int port = _wtoi(buf);
if (port <= 0 || port > 65535)
- MessageBox(0, TranslateT("Invalid port number"), TranslateT("NotifyAnything"), MB_ICONWARNING | MB_OK);
+ MessageBox(nullptr, TranslateT("Invalid port number"), TranslateT("NotifyAnything"), MB_ICONWARNING | MB_OK);
else
s.port = port;