0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.4.479

Problem:    MS-Windows: The console title can be wrong.
Solution:   Take the encoding into account. When restoring the title use the
            right function. (Yasuhiro Matsumoto)
This commit is contained in:
Bram Moolenaar
2014-10-15 22:50:10 +02:00
parent 1c85210d6d
commit 1df52d798f
3 changed files with 33 additions and 2 deletions

View File

@@ -344,7 +344,7 @@ mch_restore_title(
int which)
{
#ifndef FEAT_GUI_MSWIN
mch_settitle((which & 1) ? g_szOrigTitle : NULL, NULL);
SetConsoleTitle(g_szOrigTitle);
#endif
}