mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.1.1086: too many curly braces
Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982)
This commit is contained in:
@@ -1029,9 +1029,8 @@ getcmdline_int(
|
||||
/* Get a character. Ignore K_IGNORE and K_NOP, they should not do
|
||||
* anything, such as stop completion. */
|
||||
do
|
||||
{
|
||||
c = safe_vgetc();
|
||||
} while (c == K_IGNORE || c == K_NOP);
|
||||
while (c == K_IGNORE || c == K_NOP);
|
||||
|
||||
if (KeyTyped)
|
||||
{
|
||||
@@ -2833,9 +2832,8 @@ redraw:
|
||||
if (*p == TAB)
|
||||
{
|
||||
do
|
||||
{
|
||||
msg_putchar(' ');
|
||||
} while (++vcol % 8);
|
||||
while (++vcol % 8);
|
||||
++p;
|
||||
}
|
||||
else
|
||||
@@ -2908,9 +2906,8 @@ redraw:
|
||||
{
|
||||
/* Don't use chartabsize(), 'ts' can be different */
|
||||
do
|
||||
{
|
||||
msg_putchar(' ');
|
||||
} while (++vcol % 8);
|
||||
while (++vcol % 8);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user