aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2004-08-12 22:51:32 +0000
committernyamatongwe <devnull@localhost>2004-08-12 22:51:32 +0000
commit29ab06b5d5b7edbc4db5b80a94158cda8cf7505b (patch)
treed554b85e210369d96a4de08bf73aa0b7d1003e29 /src
parent2282e74de3fdfc6e2a93bf68bc0cff36452ec724 (diff)
downloadscintilla-mirror-29ab06b5d5b7edbc4db5b80a94158cda8cf7505b.tar.gz
Fixed hotspot double click bug caused by automatic construction of
a Point from a position.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 0ef69d1bf..399e65976 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -4941,7 +4941,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 (PointIsHotspot(newPos))
+ if (PositionIsHotspot(newPos))
NotifyHotSpotDoubleClicked(newPos, shift, ctrl, alt);
}
} else { // Single click