changeset 18076:d7f08b7bc203 v8.1.2033

patch 8.1.2033: cannot build with tiny features Commit: https://github.com/vim/vim/commit/0571f3d6f92a7dab9c1e39acb40c2f8885887b28 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 14 22:33:47 2019 +0200 patch 8.1.2033: cannot build with tiny features Problem: Cannot build with tiny features. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sat, 14 Sep 2019 22:45:03 +0200
parents c144bdfaf26c
children 9011f5cb5a0c
files src/screen.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/screen.c
+++ b/src/screen.c
@@ -5383,9 +5383,11 @@ win_line(
 		&& draw_state == WL_LINE
 		&& !attr_pri)
 	{
+#ifdef LINE_ATTR
 	    if (line_attr)
 		char_attr = hl_combine_attr(extra_attr, line_attr);
 	    else
+#endif
 		char_attr = extra_attr;
 	}
 
--- a/src/version.c
+++ b/src/version.c
@@ -758,6 +758,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2033,
+/**/
     2032,
 /**/
     2031,