diff options
author | KillTheMule <KillTheMule@users.noreply.github.com> | 2016-08-23 16:11:26 +0200 |
---|---|---|
committer | KillTheMule <KillTheMule@users.noreply.github.com> | 2016-10-30 10:52:05 +0100 |
commit | e8c0f909626094350be7ee7b524697804da38dc1 (patch) | |
tree | b6c5281cca8d9112897eb69adc649d13539d7936 /src/nvim/window.c | |
parent | 561c1e39e05bac583f851de6165cd656058df7e1 (diff) | |
download | rneovim-e8c0f909626094350be7ee7b524697804da38dc1.tar.gz rneovim-e8c0f909626094350be7ee7b524697804da38dc1.tar.bz2 rneovim-e8c0f909626094350be7ee7b524697804da38dc1.zip |
Linted
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r-- | src/nvim/window.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c index 53bc484b48..45b52e9454 100644 --- a/src/nvim/window.c +++ b/src/nvim/window.c @@ -2904,8 +2904,9 @@ static int win_alloc_firstwin(win_T *oldwin) /* Very first window, need to create an empty buffer for it and * initialize from scratch. */ curbuf = buflist_new(NULL, NULL, 1L, BLN_LISTED, 0); - if (curbuf == NULL) + if (curbuf == NULL) { return FAIL; + } curwin->w_buffer = curbuf; curwin->w_s = &(curbuf->b_s); curbuf->b_nwindows = 1; /* there is one window */ |