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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user