0
0
mirror of https://github.com/vim/vim.git synced 2025-10-02 05:04:20 -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:
Bram Moolenaar
2019-03-30 18:47:01 +01:00
parent bd9bf266fc
commit abab0b0fdd
42 changed files with 26 additions and 189 deletions

View File

@@ -232,9 +232,7 @@ redraw_all_later(int type)
win_T *wp;
FOR_ALL_WINDOWS(wp)
{
redraw_win_later(wp, type);
}
// This may be needed when switching tabs.
if (must_redraw < type)
must_redraw = type;
@@ -3525,9 +3523,7 @@ win_line(
#endif
virtual_active() ||
(VIsual_active && wp->w_buffer == curwin->w_buffer)))
{
vcol = v;
}
/* Handle a character that's not completely on the screen: Put ptr at
* that character but skip the first few screen characters. */
@@ -10761,9 +10757,7 @@ showruler(int always)
#endif
#if defined(FEAT_STL_OPT)
if ((*p_stl != NUL || *curwin->w_p_stl != NUL) && curwin->w_status_height)
{
redraw_custom_statusline(curwin);
}
else
#endif
#ifdef FEAT_CMDL_INFO