summaryrefslogtreecommitdiff
path: root/src/edit.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-05-19 22:53:40 +0200
committerBram Moolenaar <Bram@vim.org>2019-05-19 22:53:40 +0200
commitf3333b02f34526da46cdae608f7e2d869bb8c654 (patch)
treebe05ce3393cee6644f8755f59dcdf4b3694dbc33 /src/edit.c
parent386b43e59498cc7b52a60f09f74bdb44df99386c (diff)
downloadvim-git-f3333b02f34526da46cdae608f7e2d869bb8c654.tar.gz
patch 8.1.1359: text property wrong after :substitute with backslashv8.1.1359
Problem: Text property wrong after :substitute with backslash. Solution: Adjust text property columns when removing backslashes. (closes #4397)
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c
index be195fc1a..8a008cbfd 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -4104,7 +4104,7 @@ replace_do_bs(int limit_col)
--text_prop_frozen;
adjust_prop_columns(curwin->w_cursor.lnum, curwin->w_cursor.col,
- (int)(len_now - len_before), FALSE);
+ (int)(len_now - len_before), 0);
}
#endif
}