summaryrefslogtreecommitdiff
path: root/plugins/StopSpamPlus/src/opt_proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StopSpamPlus/src/opt_proto.cpp')
-rw-r--r--plugins/StopSpamPlus/src/opt_proto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/StopSpamPlus/src/opt_proto.cpp b/plugins/StopSpamPlus/src/opt_proto.cpp
index ab4e3c7df0..90592d4047 100644
--- a/plugins/StopSpamPlus/src/opt_proto.cpp
+++ b/plugins/StopSpamPlus/src/opt_proto.cpp
@@ -16,7 +16,7 @@ int FillTree(HWND hwnd)
ProtocolData *PD;
TVINSERTSTRUCT tvis;
- tvis.hParent = NULL;
+ tvis.hParent = nullptr;
tvis.hInsertAfter = TVI_LAST;
tvis.item.mask = TVIF_PARAM | TVIF_TEXT | TVIF_IMAGE | TVIF_SELECTEDIMAGE;
@@ -79,7 +79,7 @@ INT_PTR CALLBACK ProtoDlgProc(HWND hwnd, UINT msg, WPARAM, LPARAM lParam)
tvi.hItem = TreeView_GetRoot(hwndProto);
tvi.mask = TVIF_PARAM | TVIF_HANDLE;
- while (tvi.hItem != NULL) {
+ while (tvi.hItem != nullptr) {
TreeView_GetItem(hwndProto, &tvi);
if (tvi.lParam != 0) {