diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-03-30 18:47:01 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-03-30 18:47:01 +0100 |
commit | abab0b0fdd6535969447b03a4fffc1947918cf6c (patch) | |
tree | 2d43537a5dce8433ef2b2a37684c9e069392c592 /src/buffer.c | |
parent | bd9bf266fccbf7b7f09e476e09b61f0133e914db (diff) |
patch 8.1.1086: too many curly bracesv8.1.1086
Problem: Too many curly braces.
Solution: Remove curly braces where they are not needed. (Hirohito Higashi,
closes #3982)
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/buffer.c b/src/buffer.c index 6cfa41fab6..33a7c66159 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -1595,9 +1595,7 @@ do_buffer( set_curbuf(buf, action); if (action == DOBUF_SPLIT) - { RESET_BINDING(curwin); /* reset 'scrollbind' and 'cursorbind' */ - } #if defined(FEAT_EVAL) if (aborting()) /* autocmds may abort script processing */ @@ -3054,9 +3052,8 @@ buflist_list(exarg_T *eap) /* put "line 999" in column 40 or after the file name */ i = 40 - vim_strsize(IObuff); do - { IObuff[len++] = ' '; - } while (--i > 0 && len < IOSIZE - 18); + while (--i > 0 && len < IOSIZE - 18); vim_snprintf((char *)IObuff + len, (size_t)(IOSIZE - len), _("line %ld"), buf == curbuf ? curwin->w_cursor.lnum : (long)buflist_findlnum(buf)); |