diff options
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r-- | src/ex_cmds2.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index 4b575b4d8c..4a6f519231 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -475,13 +475,12 @@ ex_listdo(exarg_T *eap) { // Split the window, which will be 'nowinfixbuf', and set curwin to // that - if (win_split(0, 0) == FAIL) - return; // error message already given + (void)win_split(0, 0); if (curwin->w_p_wfb) { // Autocommands set 'winfixbuf' or sent us to another window - // with it set. Give up. + // with it set, or we failed to split the window. Give up. emsg(_(e_winfixbuf_cannot_go_to_buffer)); return; } |