diff options
author | John van Groningen | 2003-10-24 11:46:28 +0000 |
---|---|---|
committer | John van Groningen | 2003-10-24 11:46:28 +0000 |
commit | 1979d50a9bf81aedb6fa5e392fc2460e19a2c17b (patch) | |
tree | 2c691283319668900bddd5875bfcd64f81ec8246 /mcon.c | |
parent | swap newline and carriage return characters in w_get_char and (diff) |
set window title of the console window to 'press any key to exit'
instead of the messages window, if the error window is not visible
and 'no console' output is used (but output was generated, for
example because of abort)
Diffstat (limited to 'mcon.c')
-rw-r--r-- | mcon.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); } |