mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
patch 8.1.1744: build error without the conceal feature
Problem: Build error without the conceal feature. Solution: Define variables also without the conceal feature.
This commit is contained in:
10
src/screen.c
10
src/screen.c
@@ -3315,17 +3315,17 @@ win_line(
|
|||||||
#endif
|
#endif
|
||||||
int screen_line_flags = 0;
|
int screen_line_flags = 0;
|
||||||
|
|
||||||
|
int match_conc = 0; // cchar for match functions
|
||||||
#ifdef FEAT_CONCEAL
|
#ifdef FEAT_CONCEAL
|
||||||
int syntax_flags = 0;
|
int syntax_flags = 0;
|
||||||
int syntax_seqnr = 0;
|
int syntax_seqnr = 0;
|
||||||
int prev_syntax_id = 0;
|
int prev_syntax_id = 0;
|
||||||
int conceal_attr = HL_ATTR(HLF_CONCEAL);
|
int conceal_attr = HL_ATTR(HLF_CONCEAL);
|
||||||
int is_concealing = FALSE;
|
int is_concealing = FALSE;
|
||||||
int boguscols = 0; /* nonexistent columns added to force
|
int boguscols = 0; // nonexistent columns added to force
|
||||||
wrapping */
|
// wrapping
|
||||||
int vcol_off = 0; /* offset for concealed characters */
|
int vcol_off = 0; // offset for concealed characters
|
||||||
int did_wcol = FALSE;
|
int did_wcol = FALSE;
|
||||||
int match_conc = 0; /* cchar for match functions */
|
|
||||||
int old_boguscols = 0;
|
int old_boguscols = 0;
|
||||||
# define VCOL_HLC (vcol - vcol_off)
|
# define VCOL_HLC (vcol - vcol_off)
|
||||||
# define FIX_FOR_BOGUSCOLS \
|
# define FIX_FOR_BOGUSCOLS \
|
||||||
@@ -3859,8 +3859,8 @@ win_line(
|
|||||||
*/
|
*/
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
#ifdef FEAT_CONCEAL
|
|
||||||
int has_match_conc = 0; // match wants to conceal
|
int has_match_conc = 0; // match wants to conceal
|
||||||
|
#ifdef FEAT_CONCEAL
|
||||||
int did_decrement_ptr = FALSE;
|
int did_decrement_ptr = FALSE;
|
||||||
#endif
|
#endif
|
||||||
/* Skip this quickly when working on the text. */
|
/* Skip this quickly when working on the text. */
|
||||||
|
@@ -777,6 +777,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1744,
|
||||||
/**/
|
/**/
|
||||||
1743,
|
1743,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user