changeset 100614:67eba8ea51bb

(Fmake_terminal_frame): Raise an error when called from a graphical frame on Windows.
author Jason Rumney <jasonr@gnu.org>
date Sat, 20 Dec 2008 15:59:50 +0000
parents c4612cd566b2
children 95d9ce85cf2b
files src/frame.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.c	Sat Dec 20 15:46:24 2008 +0000
+++ b/src/frame.c	Sat Dec 20 15:59:50 2008 +0000
@@ -684,7 +684,7 @@
     abort ();
 #else /* not MSDOS */
 
-#if 0                           /* This should work now! */
+#ifdef WINDOWSNT                           /* This should work now! */
   if (sf->output_method != output_termcap)
     error ("Not using an ASCII terminal now; cannot make a new ASCII frame");
 #endif