updated for version 7.4.212
Problem: Now that the +visual feature is always enabled the #ifdefs for it
are not useful.
Solution: Remove the checks for FEAT_VISUAL.
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index e2c9724..507de7d 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -8577,10 +8577,8 @@
beginline(BL_SOL | BL_FIX);
}
-#if defined(FEAT_VISUAL)
if (VIsual_active)
end_visual_mode();
-#endif
switch (eap->cmdidx)
{
@@ -8991,11 +8989,7 @@
RedrawingDisabled = 0;
p_lz = FALSE;
update_topline();
- update_screen(eap->forceit ? CLEAR :
-#ifdef FEAT_VISUAL
- VIsual_active ? INVERTED :
-#endif
- 0);
+ update_screen(eap->forceit ? CLEAR : VIsual_active ? INVERTED : 0);
#ifdef FEAT_TITLE
if (need_maketitle)
maketitle();
@@ -9030,11 +9024,7 @@
status_redraw_all();
else
status_redraw_curbuf();
- update_screen(
-# ifdef FEAT_VISUAL
- VIsual_active ? INVERTED :
-# endif
- 0);
+ update_screen(VIsual_active ? INVERTED : 0);
RedrawingDisabled = r;
p_lz = p;
out_flush();