summaryrefslogtreecommitdiffstats
path: root/src/change.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/change.c
parent386b43e59498cc7b52a60f09f74bdb44df99386c (diff)
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/change.c')
-rw-r--r--src/change.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/change.c b/src/change.c
index fa8c42538f..b43ba35745 100644
--- a/src/change.c
+++ b/src/change.c
@@ -684,7 +684,7 @@ inserted_bytes(linenr_T lnum, colnr_T col, int added UNUSED)
{
#ifdef FEAT_TEXT_PROP
if (curbuf->b_has_textprop && added != 0)
- adjust_prop_columns(lnum, col, added, FALSE);
+ adjust_prop_columns(lnum, col, added, 0);
#endif
changed_bytes(lnum, col);