changeset 16896:b2c51d6de440

(init_display): Use `fatal'.
author Richard M. Stallman <rms@gnu.org>
date Mon, 20 Jan 1997 02:22:25 +0000
parents 32945f27ed20
children 523d5c54a3f5
files src/dispnew.c
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
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);