forked from aniani/vim
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:
@@ -445,9 +445,8 @@ spell_check(
|
||||
if (spell_iswordp(mi.mi_fend, wp))
|
||||
{
|
||||
do
|
||||
{
|
||||
MB_PTR_ADV(mi.mi_fend);
|
||||
} while (*mi.mi_fend != NUL && spell_iswordp(mi.mi_fend, wp));
|
||||
while (*mi.mi_fend != NUL && spell_iswordp(mi.mi_fend, wp));
|
||||
|
||||
if (capcol != NULL && *capcol == 0 && wp->w_s->b_cap_prog != NULL)
|
||||
{
|
||||
@@ -1463,9 +1462,8 @@ fold_more(matchinf_T *mip)
|
||||
|
||||
p = mip->mi_fend;
|
||||
do
|
||||
{
|
||||
MB_PTR_ADV(mip->mi_fend);
|
||||
} while (*mip->mi_fend != NUL && spell_iswordp(mip->mi_fend, mip->mi_win));
|
||||
while (*mip->mi_fend != NUL && spell_iswordp(mip->mi_fend, mip->mi_win));
|
||||
|
||||
/* Include the non-word character so that we can check for the word end. */
|
||||
if (*mip->mi_fend != NUL)
|
||||
|
Reference in New Issue
Block a user