From 29ab06b5d5b7edbc4db5b80a94158cda8cf7505b Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 12 Aug 2004 22:51:32 +0000 Subject: Fixed hotspot double click bug caused by automatic construction of a Point from a position. --- src/Editor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3