diff src/dispnew.c @ 16896:b2c51d6de440

(init_display): Use `fatal'.
author Richard M. Stallman <rms@gnu.org>
date Mon, 20 Jan 1997 02:22:25 +0000
parents 989845750a4d
children fe0b3661b584
line wrap: on
line diff
--- a/src/dispnew.c	Mon Jan 20 02:21:33 1997 +0000
+++ b/src/dispnew.c	Mon Jan 20 02:22:25 1997 +0000
@@ -2511,7 +2511,7 @@
   /* If no window system has been specified, try to use the terminal.  */
   if (! isatty (0))
     {
-      fprintf (stderr, "emacs: standard input is not a tty\n");
+      fatal ("standard input is not a tty");
       exit (1);
     }
 
@@ -2558,11 +2558,7 @@
     /* If these sizes are so big they cause overflow,
        just ignore the change.  It's not clear what better we could do.  */
     if (total_glyphs / sizeof (GLYPH) / height != width + 2)
-      {
-	fprintf (stderr, "emacs: screen size %dx%d too big\n,",
-		 width, height);
-	exit (1);
-      }
+      fatal ("screen size %dx%d too big", width, height);
   }
 
   remake_frame_glyphs (selected_frame);