summaryrefslogtreecommitdiff
path: root/plugins/NewAwaySysMod/src/AwayOpt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewAwaySysMod/src/AwayOpt.cpp')
-rw-r--r--plugins/NewAwaySysMod/src/AwayOpt.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/NewAwaySysMod/src/AwayOpt.cpp b/plugins/NewAwaySysMod/src/AwayOpt.cpp
index b0b313b999..3ded4b59c6 100644
--- a/plugins/NewAwaySysMod/src/AwayOpt.cpp
+++ b/plugins/NewAwaySysMod/src/AwayOpt.cpp
@@ -56,7 +56,7 @@ void MySetPos(HWND hwndParent)
pt.x = CWOldPos.left;
pt.y = CWOldPos.top;
ScreenToClient(hwndParent, &pt);
- SetWindowPos(hCurWnd, NULL, pt.x + dx, pt.y + dy, 0, 0, SWP_NOSIZE | SWP_NOZORDER);
+ SetWindowPos(hCurWnd, nullptr, pt.x + dx, pt.y + dy, 0, 0, SWP_NOSIZE | SWP_NOZORDER);
hCurWnd = GetNextWindow(hCurWnd, GW_HWNDNEXT);
}
}
@@ -124,7 +124,7 @@ static Dlg1Buttons[] = {
static INT_PTR CALLBACK MessagesOptDlg(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
static int ChangeLock = 0;
- static CMsgTree* MsgTree = NULL;
+ static CMsgTree* MsgTree = nullptr;
switch (msg) {
case WM_INITDIALOG:
@@ -317,7 +317,7 @@ static INT_PTR CALLBACK MessagesOptDlg(HWND hwndDlg, UINT msg, WPARAM wParam, LP
case WM_DESTROY:
delete MsgTree;
- MsgTree = NULL;
+ MsgTree = nullptr;
g_MessagesOptPage.SetWnd(NULL);
break;
}