mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +00:00
@@ -1420,13 +1420,11 @@ int win_split_ins(int size, int flags, win_T *new_wp, int dir)
|
||||
p_wh = i;
|
||||
}
|
||||
|
||||
if (!win_valid(oldwin)) {
|
||||
return FAIL;
|
||||
if (win_valid(oldwin)) {
|
||||
// Send the window positions to the UI
|
||||
oldwin->w_pos_changed = true;
|
||||
}
|
||||
|
||||
// Send the window positions to the UI
|
||||
oldwin->w_pos_changed = true;
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user