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/os_win32.c | |
parent | bd9bf266fccbf7b7f09e476e09b61f0133e914db (diff) | |
download | vim-git-abab0b0fdd6535969447b03a4fffc1947918cf6c.tar.gz |
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/os_win32.c')
-rw-r--r-- | src/os_win32.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/os_win32.c b/src/os_win32.c index 2912b0df7..fe729d4de 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -2224,14 +2224,10 @@ ClearConsoleBuffer(WORD wAttribute) coord.Y = 0; if (!FillConsoleOutputCharacter(g_hConOut, ' ', NumCells, coord, &dummy)) - { return FALSE; - } if (!FillConsoleOutputAttribute(g_hConOut, wAttribute, NumCells, coord, &dummy)) - { return FALSE; - } return TRUE; } @@ -2467,9 +2463,7 @@ RestoreConsoleBuffer( cb->BufferSize, /* dimensions of our buffer */ BufferCoord, /* offset in our buffer */ &WriteRegion)) /* region to restore */ - { return FALSE; - } } } |