From b81f56fb57c87a7490dd79908c257437d1958447 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 23 Feb 2020 15:29:46 +0100 Subject: 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_*. --- src/structs.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/structs.h') diff --git a/src/structs.h b/src/structs.h index 4b7064171..7830e6443 100644 --- a/src/structs.h +++ b/src/structs.h @@ -3340,15 +3340,16 @@ struct window_S #ifdef FEAT_SYN_HL int *w_p_cc_cols; // array of columns to highlight or NULL char_u w_p_culopt_flags; // flags for cursorline highlighting -#endif -#ifdef FEAT_LINEBREAK - int w_p_brimin; // minimum width for breakindent - int w_p_brishift; // additional shift for breakindent - int w_p_brisbr; // sbr in 'briopt' #endif long w_p_siso; // 'sidescrolloff' local value long w_p_so; // 'scrolloff' local value +#ifdef FEAT_LINEBREAK + int w_briopt_min; // minimum width for breakindent + int w_briopt_shift; // additional shift for breakindent + int w_briopt_sbr; // sbr in 'briopt' +#endif + // transform a pointer to a "onebuf" option into a "allbuf" option #define GLOBAL_WO(p) ((char *)p + sizeof(winopt_T)) -- cgit v1.2.1