screen: Remove unneeded check

This commit is contained in:
ZyX
2017-04-16 21:17:08 +03:00
parent b396a3f72e
commit a65867542d

View File

@@ -1016,9 +1016,7 @@ static void win_update(win_T *wp)
linenr_T from, to;
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