diff options
author | Neil <nyamatongwe@gmail.com> | 2018-04-28 09:00:02 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-04-28 09:00:02 +1000 |
commit | 6d08a4cb98cb6351ad8cdded482e46a2a9c12113 (patch) | |
tree | 307a7d072faccb2628bf1acfdb857b03d89a1f49 | |
parent | cd711d67a5a82144ef27ffd8d247be2f635814e9 (diff) | |
download | scintilla-mirror-6d08a4cb98cb6351ad8cdded482e46a2a9c12113.tar.gz |
Backport: Remove unused definition and replace 0 with nullptr.
Backport of changeset 6754:e62ae5a8a587.
-rw-r--r-- | win32/ScintillaWin.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index d35884dd9..b777ade12 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 |