diff options
author | nyamatongwe <devnull@localhost> | 2003-12-14 03:17:29 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2003-12-14 03:17:29 +0000 |
commit | 1e5c4461cf159b5ed14b423babdaecd6d109f96c (patch) | |
tree | 0ddcde6da64b1116135cef35c9682dc2989fa65e /src | |
parent | 886c19806f3417a59011ff13498798a692603aba (diff) | |
download | scintilla-mirror-1e5c4461cf159b5ed14b423babdaecd6d109f96c.tar.gz |
Patch from John Ehresman to fix hotspot crash.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 9b7522550..9878182c2 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -4835,7 +4835,7 @@ void Editor::ButtonDown(Point pt, unsigned int curTime, bool shift, bool ctrl, b } bool Editor::PositionIsHotspot(int position) { - return vs.styles[pdoc->StyleAt(position)].hotspot; + return vs.styles[pdoc->StyleAt(position) & pdoc->stylingBitsMask].hotspot; } bool Editor::PointIsHotspot(Point pt) { |