comparison src/os_mswin.c @ 6290:e0f2ed0efb49 v7.4.479

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)
author Bram Moolenaar <bram@vim.org>
date Wed, 15 Oct 2014 22:50:10 +0200
parents 3005da486a71
children 15e88e3750e3
comparison
equal deleted inserted replaced
6289:018ff5bd148a 6290:e0f2ed0efb49
342 void 342 void
343 mch_restore_title( 343 mch_restore_title(
344 int which) 344 int which)
345 { 345 {
346 #ifndef FEAT_GUI_MSWIN 346 #ifndef FEAT_GUI_MSWIN
347 mch_settitle((which & 1) ? g_szOrigTitle : NULL, NULL); 347 SetConsoleTitle(g_szOrigTitle);
348 #endif 348 #endif
349 } 349 }
350 350
351 351
352 /* 352 /*