From: Richard M. Stallman Date: Mon, 20 Jan 1997 02:22:25 +0000 (+0000) Subject: (init_display): Use `fatal'. X-Git-Tag: emacs-20.1~3048 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1559a86dabb6f2f1123fe3692704438661363f95;p=emacs.git (init_display): Use `fatal'. --- diff --git a/src/dispnew.c b/src/dispnew.c index 0301c57cb19..8e36710e1f7 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -2511,7 +2511,7 @@ init_display () /* 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 @@ For types not defined in VMS, use define emacs_term \"TYPE\".\n\ /* 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);