Mercurial > vim
diff src/os_win32.c @ 14479:3375a8cbb442 v8.1.0253
patch 8.1.0253: saving and restoring window title does not always work
commit https://github.com/vim/vim/commit/40385dbcdfb44885f2e9b83e1e0285aeb8a0c2a8
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 7 22:31:44 2018 +0200
patch 8.1.0253: saving and restoring window title does not always work
Problem: Saving and restoring window title does not always work.
Solution: Use the stack push and pop commands. (Kouichi Iwamoto,
closes #3059)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 07 Aug 2018 22:45:06 +0200 |
parents | 2771a99db70c |
children | 3ea4a48213e6 |
line wrap: on
line diff
--- a/src/os_win32.c +++ b/src/os_win32.c @@ -2695,7 +2695,7 @@ mch_exit(int r) if (g_fWindInitCalled) { #ifdef FEAT_TITLE - mch_restore_title(3); + mch_restore_title(SAVE_RESTORE_BOTH); /* * Restore both the small and big icons of the console window to * what they were at startup. Don't do this when the window is