aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/screen.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index febca105e9..79596f73cd 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -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