patch 9.1.0804: tests: no error check when setting global 'cc'
Problem: tests: no error check when setting global 'cc'
Solution: also parse and check global 'cc' value (Milly)
closes: #15914
Signed-off-by: Milly <milly.ca@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/option.c b/src/option.c
index a108c52..a55288a 100644
--- a/src/option.c
+++ b/src/option.c
@@ -4328,7 +4328,7 @@
tabpage_T *tp;
FOR_ALL_TAB_WINDOWS(tp, wp)
- check_colorcolumn(wp);
+ check_colorcolumn(NULL, wp);
}
#endif
@@ -6755,7 +6755,7 @@
#endif
#ifdef FEAT_SYN_HL
fill_culopt_flags(NULL, wp);
- check_colorcolumn(wp);
+ check_colorcolumn(NULL, wp);
#endif
set_listchars_option(wp, wp->w_p_lcs, TRUE, NULL, 0);
set_fillchars_option(wp, wp->w_p_fcs, TRUE, NULL, 0);