patch 8.2.0309: window-local values have confusing name
Problem: Window-local values have confusing name.
Solution: Rename w_p_bri* to w_briopt_*.
diff --git a/src/drawline.c b/src/drawline.c
index b581411..9f943e0 100644
--- a/src/drawline.c
+++ b/src/drawline.c
@@ -1140,11 +1140,11 @@
}
#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 @@
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.