# HG changeset patch # User Richard M. Stallman # Date 853726945 0 # Node ID b2c51d6de440a035fc657e45fc173796eccec5b5 # Parent 32945f27ed20d150c4089cecb0a203af23320057 (init_display): Use `fatal'. diff -r 32945f27ed20 -r b2c51d6de440 src/dispnew.c --- 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);