mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -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:
@@ -811,9 +811,7 @@ getcount:
|
||||
}
|
||||
else if ((nv_cmds[idx].cmd_flags & NV_SSS)
|
||||
&& (mod_mask & MOD_MASK_SHIFT))
|
||||
{
|
||||
mod_mask &= ~MOD_MASK_SHIFT;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3507,9 +3505,7 @@ find_ident_at_pos(
|
||||
&& col <= (int)startcol
|
||||
&& find_is_eval_item(ptr + col, &col, &bn, FORWARD))
|
||||
)
|
||||
{
|
||||
++col;
|
||||
}
|
||||
|
||||
return col;
|
||||
}
|
||||
@@ -4329,9 +4325,7 @@ find_decl(
|
||||
* inside a comment, continue searching. For K&R style function
|
||||
* declarations this skips the function header without types. */
|
||||
if (!valid)
|
||||
{
|
||||
CLEAR_POS(&found_pos);
|
||||
}
|
||||
else
|
||||
found_pos = curwin->w_cursor;
|
||||
/* Remove SEARCH_START from flags to avoid getting stuck at one
|
||||
@@ -9449,9 +9443,7 @@ nv_open(cmdarg_T *cap)
|
||||
v_swap_corners(cap->cmdchar);
|
||||
#ifdef FEAT_JOB_CHANNEL
|
||||
else if (bt_prompt(curbuf))
|
||||
{
|
||||
clearopbeep(cap->oap);
|
||||
}
|
||||
#endif
|
||||
else
|
||||
n_opencmd(cap);
|
||||
|
Reference in New Issue
Block a user