diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-10-15 22:50:10 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-10-15 22:50:10 +0200 |
commit | 1df52d798faf507fc0c340fdb19f98d435593f0e (patch) | |
tree | 540a08e75fb22e1d21a3701da0219fb24787c978 /src/os_mswin.c | |
parent | 1c85210d6d0e426b6eb68972f12252804d509dd8 (diff) | |
download | vim-git-1df52d798faf507fc0c340fdb19f98d435593f0e.tar.gz |
updated for version 7.4.479v7.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)
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r-- | src/os_mswin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_mswin.c b/src/os_mswin.c index dff093976..dfd40af8d 100644 --- a/src/os_mswin.c +++ b/src/os_mswin.c @@ -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 } |