diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-24 18:43:08 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-24 18:43:08 +0200 |
commit | 07d1356648a2a9b5f07e20ff1d3c4c606ae45d49 (patch) | |
tree | 9091fe505fa1def0d3771747878d7598b33276e6 | |
parent | bbca7732e8a3deb6e5dcf84739579a2667a75475 (diff) |
patch 8.1.1744: build error without the conceal featurev8.1.1744
Problem: Build error without the conceal feature.
Solution: Define variables also without the conceal feature.
-rw-r--r-- | src/screen.c | 10 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 7 insertions, 5 deletions
diff --git a/src/screen.c b/src/screen.c index bdc4b47c36..01d5740787 100644 --- a/src/screen.c +++ b/src/screen.c @@ -3315,17 +3315,17 @@ win_line( #endif int screen_line_flags = 0; + int match_conc = 0; // cchar for match functions #ifdef FEAT_CONCEAL int syntax_flags = 0; int syntax_seqnr = 0; int prev_syntax_id = 0; int conceal_attr = HL_ATTR(HLF_CONCEAL); int is_concealing = FALSE; - int boguscols = 0; /* nonexistent columns added to force - wrapping */ - int vcol_off = 0; /* offset for concealed characters */ + int boguscols = 0; // nonexistent columns added to force + // wrapping + int vcol_off = 0; // offset for concealed characters int did_wcol = FALSE; - int match_conc = 0; /* cchar for match functions */ int old_boguscols = 0; # define VCOL_HLC (vcol - vcol_off) # define FIX_FOR_BOGUSCOLS \ @@ -3859,8 +3859,8 @@ win_line( */ for (;;) { -#ifdef FEAT_CONCEAL int has_match_conc = 0; // match wants to conceal +#ifdef FEAT_CONCEAL int did_decrement_ptr = FALSE; #endif /* Skip this quickly when working on the text. */ diff --git a/src/version.c b/src/version.c index 1253846dec..df0bc83840 100644 --- a/src/version.c +++ b/src/version.c @@ -778,6 +778,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1744, +/**/ 1743, /**/ 1742, |