diff options
author | nyamatongwe <unknown> | 2003-10-13 20:03:12 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-10-13 20:03:12 +0000 |
commit | dbcb625cd0d727b0c1bdb001bab6504b2c21eda3 (patch) | |
tree | 6de2245a051c699ab7ac96b45ce281531f46f732 | |
parent | d20359c95c59676a8267a8cbf366134372de4252 (diff) | |
download | scintilla-mirror-dbcb625cd0d727b0c1bdb001bab6504b2c21eda3.tar.gz |
Hotspot fix from Simon.
-rw-r--r-- | src/Editor.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index ddebb5ae2..c8efe0a6e 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -4707,7 +4707,7 @@ void Editor::ButtonDown(Point pt, unsigned int curTime, bool shift, bool ctrl, b //Platform::DebugPrintf("Double click: %d - %d\n", anchor, currentPos); if (doubleClick) { NotifyDoubleClick(pt, shift); - if (PositionIsHotspot(newPos)) + if (PointIsHotspot(newPos)) NotifyHotSpotDoubleClicked(newPos, shift, ctrl, alt); } } else { // Single click @@ -4739,7 +4739,7 @@ void Editor::ButtonDown(Point pt, unsigned int curTime, bool shift, bool ctrl, b SetMouseCapture(true); selectionType = selLine; } else { - if (PositionIsHotspot(newPos)) { + if (PointIsHotspot(pt)) { NotifyHotSpotClicked(newPos, shift, ctrl, alt); } if (!shift) { |