mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.4610: some conditions are always true
Problem: Some conditions are always true. Solution: Remove the useless conditions. (closes #9993)
This commit is contained in:
@@ -1950,9 +1950,8 @@ win_update(win_T *wp)
|
||||
|
||||
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
|
||||
|
Reference in New Issue
Block a user