summaryrefslogtreecommitdiff
path: root/src/os_mswin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r--src/os_mswin.c2
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
}