summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-03-30 18:47:01 +0100
committerBram Moolenaar <Bram@vim.org>2019-03-30 18:47:01 +0100
commitabab0b0fdd6535969447b03a4fffc1947918cf6c (patch)
tree2d43537a5dce8433ef2b2a37684c9e069392c592 /src/getchar.c
parentbd9bf266fccbf7b7f09e476e09b61f0133e914db (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/getchar.c')
-rw-r--r--src/getchar.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/getchar.c b/src/getchar.c
index 0e9942ba34..e8926d4296 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -1813,9 +1813,8 @@ plain_vgetc(void)
int c;
do
- {
c = safe_vgetc();
- } while (c == K_IGNORE || c == K_VER_SCROLLBAR || c == K_HOR_SCROLLBAR);
+ while (c == K_IGNORE || c == K_VER_SCROLLBAR || c == K_HOR_SCROLLBAR);
if (c == K_PS)
/* Only handle the first pasted character. Drop the rest, since we