lint: clean-up after parent commits

This commit is contained in:
ZviRackover
2018-08-29 23:32:57 +03:00
parent 1015aa6ff3
commit a3549286b2
4 changed files with 23 additions and 19 deletions

View File

@@ -2124,8 +2124,9 @@ static char_u *iconv_string(const vimconv_T *const vcp, char_u *str,
* conversion from 'encoding' to something else. In other
* situations we don't know what to skip anyway. */
*to++ = '?';
if (utf_ptr2cells((char_u *)from) > 1)
if (utf_ptr2cells((char_u *)from) > 1) {
*to++ = '?';
}
l = utfc_ptr2len_len((const char_u *)from, (int)fromlen);
from += l;
fromlen -= l;