summaryrefslogtreecommitdiff
path: root/src/mark.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mark.c')
-rw-r--r--src/mark.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mark.c b/src/mark.c
index 1655e0357..d3db4a601 100644
--- a/src/mark.c
+++ b/src/mark.c
@@ -318,7 +318,8 @@ getmark(c, changefile)
pos = curwin->w_cursor;
listcmd_busy = TRUE; /* avoid that '' is changed */
- if (findpar(&oa, c == '}' ? FORWARD : BACKWARD, 1L, NUL, FALSE))
+ if (findpar(&oa.inclusive,
+ c == '}' ? FORWARD : BACKWARD, 1L, NUL, FALSE))
{
pos_copy = curwin->w_cursor;
posp = &pos_copy;