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] --- plugins/WhenWasIt/src/WhenWasIt.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/WhenWasIt/src/WhenWasIt.cpp') diff --git a/plugins/WhenWasIt/src/WhenWasIt.cpp b/plugins/WhenWasIt/src/WhenWasIt.cpp index f321c71a0c..0bdd5bb7d6 100644 --- a/plugins/WhenWasIt/src/WhenWasIt.cpp +++ b/plugins/WhenWasIt/src/WhenWasIt.cpp @@ -22,9 +22,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. char ModuleName[] = "WhenWasIt"; HINSTANCE hInstance; -HWND hBirthdaysDlg = NULL; -HWND hUpcomingDlg = NULL; -MWindowList hAddBirthdayWndsList = NULL; +HWND hBirthdaysDlg = nullptr; +HWND hUpcomingDlg = nullptr; +MWindowList hAddBirthdayWndsList = nullptr; int hLangpack; CommonData commonData = { 0 }; @@ -110,7 +110,7 @@ extern "C" int __declspec(dllexport) Load(void) Menu_AddMainMenuItem(&mi); SET_UID(mi, 0x6f844569, 0xad06, 0x4b27, 0x8f, 0xd8, 0x1, 0x24, 0xe7, 0x1e, 0xcc, 0x43); - mi.root = 0; + mi.root = nullptr; mi.pszService = MS_WWI_ADD_BIRTHDAY; mi.position = 10000000; mi.hIcolibItem = hAddBirthdayContact; -- cgit v1.2.3