diff options
Diffstat (limited to 'plugins/Non-IM Contact/src/timer.cpp')
-rw-r--r-- | plugins/Non-IM Contact/src/timer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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;
|