]> granicus.if.org Git - vim/commitdiff
patch 8.1.2283: missed on use of p_sbr v8.1.2283
authorBram Moolenaar <Bram@vim.org>
Sat, 9 Nov 2019 23:19:12 +0000 (00:19 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 9 Nov 2019 23:19:12 +0000 (00:19 +0100)
Problem:    Missed on use of p_sbr.
Solution:   Add missing p_sbr change.

src/indent.c
src/version.c

index 4abe05b2d3f66e93cdd882bb06784fa0c0d25677..755c3a9e44a81ba06f701816bef380eefb197016 100644 (file)
@@ -887,7 +887,7 @@ get_breakindent_win(
 
     // indent minus the length of the showbreak string
     if (wp->w_p_brisbr)
-       bri -= vim_strsize(p_sbr);
+       bri -= vim_strsize(get_showbreak_value(wp));
 
     // Add offset for number column, if 'n' is in 'cpoptions'
     bri += win_col_off2(wp);
index 9d2025f3a78a0a09754601c815593ada3cce0afa..d8eedea522e1cc73269bbd7dcf9505663fa20631 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2283,
 /**/
     2282,
 /**/