diff options
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r-- | src/os_mswin.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/os_mswin.c b/src/os_mswin.c index ad5b60fd87..bd70e84b73 100644 --- a/src/os_mswin.c +++ b/src/os_mswin.c @@ -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; |