summaryrefslogtreecommitdiffstats
path: root/src/misc1.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/misc1.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/misc1.c')
-rw-r--r--src/misc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c
index 1eac5189ae..e76e4a4a37 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -441,7 +441,7 @@ set_indent(
// the old indent, when decreasing indent it behaves like spaces
// were deleted at the new indent.
adjust_prop_columns(curwin->w_cursor.lnum,
- (colnr_T)(added > 0 ? (p - oldline) : ind_len), added, FALSE);
+ (colnr_T)(added > 0 ? (p - oldline) : ind_len), added, 0);
}
#endif
retval = TRUE;