summaryrefslogtreecommitdiff
path: root/src/os_mswin.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-08-07 22:31:44 +0200
committerBram Moolenaar <Bram@vim.org>2018-08-07 22:31:44 +0200
commit40385dbcdfb44885f2e9b83e1e0285aeb8a0c2a8 (patch)
tree35de952db98f597df68144ef4ab99a294177861d /src/os_mswin.c
parentde3b3677f7eace66be454196db0fbf710cfc8c5e (diff)
downloadvim-git-40385dbcdfb44885f2e9b83e1e0285aeb8a0c2a8.tar.gz
patch 8.1.0253: saving and restoring window title does not always workv8.1.0253
Problem: Saving and restoring window title does not always work. Solution: Use the stack push and pop commands. (Kouichi Iwamoto, closes #3059)
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r--src/os_mswin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os_mswin.c b/src/os_mswin.c
index 5dbfd0ef0..2112b0c2a 100644
--- a/src/os_mswin.c
+++ b/src/os_mswin.c
@@ -304,9 +304,9 @@ mch_settitle(
/*
* Restore the window/icon title.
* which is one of:
- * 1: Just restore title
- * 2: Just restore icon (which we don't have)
- * 3: Restore title and icon (which we don't have)
+ * SAVE_RESTORE_TITLE: Just restore title
+ * SAVE_RESTORE_ICON: Just restore icon (which we don't have)
+ * SAVE_RESTORE_BOTH: Restore title and icon (which we don't have)
*/
void
mch_restore_title(int which UNUSED)