0
0
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:
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

@@ -1123,9 +1123,7 @@ vimSetDlgItemText(HWND hDlg, int nIDDlgItem, char_u *s)
BOOL ret;
if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
{
wp = enc_to_utf16(s, NULL);
}
if (wp != NULL)
{
ret = SetDlgItemTextW(hDlg, nIDDlgItem, wp);
@@ -1731,9 +1729,7 @@ mch_print_text_out(char_u *p, int len)
int wlen = len;
if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
{
wp = enc_to_utf16(p, &wlen);
}
if (wp != NULL)
{
int ret = FALSE;