From 1559a86dabb6f2f1123fe3692704438661363f95 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 20 Jan 1997 02:22:25 +0000 Subject: [PATCH] (init_display): Use `fatal'. --- src/dispnew.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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); -- 2.39.2