aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--doc/ScintillaHistory.html1
-rw-r--r--src/Editor.cxx2
2 files changed, 2 insertions, 1 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index c3b541e31..47eca3936 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -408,6 +408,7 @@
</tr><tr>
<td>Denis Shelomovskij</td>
<td>darmar</td>
+ <td>John Vella</td>
</tr>
</table>
<p>
diff --git a/src/Editor.cxx b/src/Editor.cxx
index f7ecd743f..cd72953ae 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -4438,7 +4438,7 @@ bool Editor::NotifyMarginClick(Point pt, bool shift, bool ctrl, bool alt) {
int marginClicked = -1;
int x = 0;
for (int margin = 0; margin < ViewStyle::margins; margin++) {
- if ((pt.x > x) && (pt.x < x + vs.ms[margin].width))
+ if ((pt.x >= x) && (pt.x < x + vs.ms[margin].width))
marginClicked = margin;
x += vs.ms[margin].width;
}