aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-04-28 09:00:02 +1000
committerNeil <nyamatongwe@gmail.com>2018-04-28 09:00:02 +1000
commit7b368356d901a89af7ce090459680280f7122672 (patch)
tree045fb54d38c26747643d856774051a65ce264a20
parentefb4029eb0176c24095e72904fb808289476520c (diff)
downloadscintilla-mirror-7b368356d901a89af7ce090459680280f7122672.tar.gz
Remove unused definition and replace 0 with nullptr.
-rw-r--r--win32/ScintillaWin.cxx3
1 files changed, 1 insertions, 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