From 7b368356d901a89af7ce090459680280f7122672 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 28 Apr 2018 09:00:02 +1000 Subject: Remove unused definition and replace 0 with nullptr. --- win32/ScintillaWin.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index b268f98c5..6ed96a77d 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -131,7 +131,6 @@ #define SCS_SETRECONVERTSTRING 0x00010000 #endif -typedef BOOL (WINAPI *TrackMouseEventSig)(LPTRACKMOUSEEVENT); typedef UINT_PTR (WINAPI *SetCoalescableTimerSig)(HWND hwnd, UINT_PTR nIDEvent, UINT uElapse, TIMERPROC lpTimerFunc, ULONG uToleranceDelay); @@ -429,7 +428,7 @@ ScintillaWin::ScintillaWin(HWND hwnd) { capturedMouse = false; trackedMouseLeave = false; - SetCoalescableTimerFn = 0; + SetCoalescableTimerFn = nullptr; linesPerScroll = 0; wheelDelta = 0; // Wheel delta from roll -- cgit v1.2.3