Mercurial > vim
comparison src/os_mswin.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 | 05aec5ac9630 |
children | 014d916ab258 |
comparison
equal
deleted
inserted
replaced
14478:b35bae59c521 | 14479:3375a8cbb442 |
---|---|
302 | 302 |
303 | 303 |
304 /* | 304 /* |
305 * Restore the window/icon title. | 305 * Restore the window/icon title. |
306 * which is one of: | 306 * which is one of: |
307 * 1: Just restore title | 307 * SAVE_RESTORE_TITLE: Just restore title |
308 * 2: Just restore icon (which we don't have) | 308 * SAVE_RESTORE_ICON: Just restore icon (which we don't have) |
309 * 3: Restore title and icon (which we don't have) | 309 * SAVE_RESTORE_BOTH: Restore title and icon (which we don't have) |
310 */ | 310 */ |
311 void | 311 void |
312 mch_restore_title(int which UNUSED) | 312 mch_restore_title(int which UNUSED) |
313 { | 313 { |
314 #ifndef FEAT_GUI_MSWIN | 314 #ifndef FEAT_GUI_MSWIN |