From e8c0f909626094350be7ee7b524697804da38dc1 Mon Sep 17 00:00:00 2001 From: KillTheMule Date: Tue, 23 Aug 2016 16:11:26 +0200 Subject: Linted --- src/nvim/fileio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/nvim/fileio.c') diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index 3871a3ab78..7ce2c57420 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -5063,10 +5063,10 @@ void buf_reload(buf_T *buf, int orig_mode) * the old contents. Can't use memory only, the file might be * too big. Use a hidden buffer to move the buffer contents to. */ - if (bufempty() || saved == FAIL) + if (bufempty() || saved == FAIL) { savebuf = NULL; - else { - /* Allocate a buffer without putting it in the buffer list. */ + } else { + // Allocate a buffer without putting it in the buffer list. savebuf = buflist_new(NULL, NULL, (linenr_T)1, BLN_DUMMY, 0); if (savebuf != NULL && buf == curbuf) { /* Open the memline. */ -- cgit