From a7c24ca48995cf2bf436156302f96b91bf135409 Mon Sep 17 00:00:00 2001 From: Goraf <22941576+Goraf@users.noreply.github.com> Date: Mon, 13 Nov 2017 15:03:31 +0100 Subject: Code modernize ... * replace 0/NULL with nullptr [using clang-tidy] --- protocols/EmLanProto/src/amdproto.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/EmLanProto/src/amdproto.cpp') diff --git a/protocols/EmLanProto/src/amdproto.cpp b/protocols/EmLanProto/src/amdproto.cpp index c65fdeb4de..d25ebae2c8 100644 --- a/protocols/EmLanProto/src/amdproto.cpp +++ b/protocols/EmLanProto/src/amdproto.cpp @@ -19,8 +19,8 @@ PLUGININFOEX pluginInfo = { { 0xe08ce7c4, 0x9eeb, 0x4272, { 0xb5, 0x44, 0xd, 0x32, 0xe1, 0x8d, 0x90, 0xde } } }; -HINSTANCE g_hInstance = NULL; -CMLan* g_lan = NULL; +HINSTANCE g_hInstance = nullptr; +CMLan* g_lan = nullptr; int hLangpack; bool g_InitOptions = false; @@ -294,7 +294,7 @@ INT_PTR CALLBACK EMPDlgProcMessage(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARA switch (uMsg) { case WM_INITDIALOG: - if ((hwndOwner = GetParent(hwndDlg)) == NULL) + if ((hwndOwner = GetParent(hwndDlg)) == nullptr) hwndOwner = GetDesktopWindow(); GetWindowRect(hwndOwner, &rcOwner); -- cgit v1.2.3