patch 8.2.4610: some conditions are always true
Problem: Some conditions are always true.
Solution: Remove the useless conditions. (closes #9993)
diff --git a/src/drawscreen.c b/src/drawscreen.c
index cdfcac0..a562c4d 100644
--- a/src/drawscreen.c
+++ b/src/drawscreen.c
@@ -1950,9 +1950,8 @@
if (VIsual_active)
{
- if (VIsual_active
- && (VIsual_mode != wp->w_old_visual_mode
- || type == INVERTED_ALL))
+ if (VIsual_mode != wp->w_old_visual_mode
+ || type == INVERTED_ALL)
{
// If the type of Visual selection changed, redraw the whole
// selection. Also when the ownership of the X selection is