diff options
Diffstat (limited to '')
-rw-r--r-- | src/textobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textobject.c b/src/textobject.c index 015b33b..1890d7c 100644 --- a/src/textobject.c +++ b/src/textobject.c @@ -232,7 +232,7 @@ findpar( // Put the cursor on the last character in the last line and make the // motion inclusive. - if ((curwin->w_cursor.col = (colnr_T)STRLEN(line)) != 0) + if ((curwin->w_cursor.col = ml_get_len(curr)) != 0) { --curwin->w_cursor.col; curwin->w_cursor.col -= |