summaryrefslogtreecommitdiffstats
path: root/src/drawline.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-23 15:29:46 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-23 15:29:46 +0100
commitb81f56fb57c87a7490dd79908c257437d1958447 (patch)
treefa363ee5893351d602dea5245003629852a09d83 /src/drawline.c
parent1aa76b8fd06c278fe36c39b0bbe7233c775d7423 (diff)
patch 8.2.0309: window-local values have confusing namev8.2.0309
Problem: Window-local values have confusing name. Solution: Rename w_p_bri* to w_briopt_*.
Diffstat (limited to 'src/drawline.c')
-rw-r--r--src/drawline.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drawline.c b/src/drawline.c
index b5814114b6..9f943e03aa 100644
--- a/src/drawline.c
+++ b/src/drawline.c
@@ -1140,11 +1140,11 @@ win_line(
}
#ifdef FEAT_LINEBREAK
- if (wp->w_p_brisbr && draw_state == WL_BRI - 1
+ if (wp->w_briopt_sbr && draw_state == WL_BRI - 1
&& n_extra == 0 && *get_showbreak_value(wp) != NUL)
// draw indent after showbreak value
draw_state = WL_BRI;
- else if (wp->w_p_brisbr && draw_state == WL_SBR && n_extra == 0)
+ else if (wp->w_briopt_sbr && draw_state == WL_SBR && n_extra == 0)
// After the showbreak, draw the breakindent
draw_state = WL_BRI - 1;
@@ -1176,7 +1176,7 @@ win_line(
c_final = NUL;
n_extra = get_breakindent_win(wp,
ml_get_buf(wp->w_buffer, lnum, FALSE));
- if (wp->w_skipcol > 0 && wp->w_p_wrap && wp->w_p_brisbr)
+ if (wp->w_skipcol > 0 && wp->w_p_wrap && wp->w_briopt_sbr)
need_showbreak = FALSE;
// Correct end of highlighted area for 'breakindent',
// required when 'linebreak' is also set.