aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-05-24 07:48:25 +1000
committerNeil <nyamatongwe@gmail.com>2014-05-24 07:48:25 +1000
commite6e568e927e1289e5c2f416711f83eac2c74fccf (patch)
tree00c3a177bf42335e0a0aee8c55f428462c28de5e
parent82beb1d9e5da14a0142a8c407c6c14ffda2d6954 (diff)
downloadscintilla-mirror-e6e568e927e1289e5c2f416711f83eac2c74fccf.tar.gz
Avoid a runtime warning from Dr. Memory.
-rw-r--r--win32/ScintillaWin.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index 762960685..07f801a78 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -1338,6 +1338,7 @@ void ScintillaWin::SetTrackMouseLeaveEvent(bool on) {
tme.cbSize = sizeof(tme);
tme.dwFlags = TME_LEAVE;
tme.hwndTrack = MainHWND();
+ tme.dwHoverTime = HOVER_DEFAULT; // Unused but triggers Dr. Memory if not initialized
TrackMouseEventFn(&tme);
}
trackedMouseLeave = on;