]> code.delx.au - gnu-emacs/commitdiff
(init_tty): Call init_sys_modes on WINDOWSNT also.
authorJason Rumney <jasonr@gnu.org>
Tue, 25 Sep 2007 08:53:23 +0000 (08:53 +0000)
committerJason Rumney <jasonr@gnu.org>
Tue, 25 Sep 2007 08:53:23 +0000 (08:53 +0000)
src/term.c

index b18722f816f92840aff806c42407b6cb6884e212..ce3b49ef4c10e6d2facacbcc91fe0e472cb510a6 100644 (file)
@@ -3717,9 +3717,10 @@ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.",
   /* 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;
 }