summaryrefslogtreecommitdiff
path: root/mcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'mcon.c')
-rw-r--r--mcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcon.c b/mcon.c
index 002001f..1f543c6 100644
--- a/mcon.c
+++ b/mcon.c
@@ -1663,7 +1663,7 @@ void wait_for_key_press (VOID)
if (use_stdio)
return;
#endif
- SetWTitle (flags & 16 ? e_window : c_window,"\ppress any key to exit");
+ SetWTitle ((flags & 16) && error_window_visible ? e_window : c_window,"\ppress any key to exit");
wait_key();
}