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
commitc813c65a565f815d7d01f10d1518f4571a31f45f (patch)
tree22cf781959b97ee8ee844d6a75bc7c97317cbe70
parent92911bdf1f098feea9287360e27b31c8a25b2c91 (diff)
downloadscintilla-mirror-c813c65a565f815d7d01f10d1518f4571a31f45f.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;