changeset 84849:ba20cee1aec0

(init_tty): Call init_sys_modes on WINDOWSNT also.
author Jason Rumney <jasonr@gnu.org>
date Tue, 25 Sep 2007 08:53:23 +0000
parents d8f4346c8ee1
children a2976eb98917
files src/term.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/term.c	Tue Sep 25 08:53:03 2007 +0000
+++ b/src/term.c	Tue Sep 25 08:53:23 2007 +0000
@@ -3717,9 +3717,10 @@
   /* Don't do this.  I think termcap may still need the buffer. */
   /* xfree (buffer); */
 
+#endif /* not WINDOWSNT */
+
   /* Init system terminal modes (RAW or CBREAK, etc.).  */
   init_sys_modes (tty);
-#endif /* not WINDOWSNT */
 
   return terminal;
 }