summaryrefslogtreecommitdiffstats
path: root/src/ui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-22 14:08:59 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-22 14:08:59 +0100
commit515545e11f523d14343b1e588dc0b9bd3d362bc2 (patch)
tree6770a882b96a447d8b455f7c98e6c557c221317a /src/ui.c
parent97acfc781bdb7fa2838dc6e0e7f9952ea61bb2fd (diff)
patch 8.2.0425: code for modeless selection not sufficiently testedv8.2.0425
Problem: Code for modeless selection not sufficiently tested. Solution: Add tests. Move mouse code functionality to a common script file. (Yegappan Lakshmanan, closes #5821)
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.c b/src/ui.c
index 420eb7dae4..9a323e42a2 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -1046,7 +1046,7 @@ clip_modeless(int button, int is_click, int is_drag)
else if (is_drag)
{
// Don't try extending a selection if there isn't one. Happens when
- // button-down is in the cmdline and them moving mouse upwards.
+ // button-down is in the cmdline and then moving mouse upwards.
if (clip_star.state != SELECT_CLEARED)
clip_process_selection(button, mouse_col, mouse_row, repeat);
}