summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/beval.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/beval.c b/src/beval.c
index 193964667..3dd9b6770 100644
--- a/src/beval.c
+++ b/src/beval.c
@@ -72,6 +72,7 @@ find_word_under_cursor(
}
col = vcol2col(wp, lnum, col);
+ scol = col;
if (VIsual_active
&& wp->w_buffer == curwin->w_buffer
@@ -95,6 +96,7 @@ find_word_under_cursor(
lbuf = vim_strnsave(lbuf + spos->col, len);
lnum = spos->lnum;
col = spos->col;
+ scol = col;
}
else
{
diff --git a/src/version.c b/src/version.c
index b1187db57..d1f5eba6b 100644
--- a/src/version.c
+++ b/src/version.c
@@ -778,6 +778,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1708,
+/**/
1707,
/**/
1706,