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/Non-IM Contact/src/timer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Non-IM Contact/src/timer.cpp') diff --git a/plugins/Non-IM Contact/src/timer.cpp b/plugins/Non-IM Contact/src/timer.cpp index 18fdf21778..dc20309a9b 100644 --- a/plugins/Non-IM Contact/src/timer.cpp +++ b/plugins/Non-IM Contact/src/timer.cpp @@ -63,7 +63,7 @@ void CALLBACK timerProc(HWND, UINT, UINT_PTR, DWORD) // int startTimer(int interval) { - timerId = SetTimer(NULL, 0, interval, timerProc); + timerId = SetTimer(nullptr, 0, interval, timerProc); return 0; } @@ -78,7 +78,7 @@ int killTimer() { if (timerId != 0) { db_set_w(NULL, MODNAME, "timerCount", 0); - KillTimer(NULL, timerId); + KillTimer(nullptr, timerId); timerId = 0; } return 0; -- cgit v1.2.3