summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-01-20 02:22:25 +0000
committerRichard M. Stallman <rms@gnu.org>1997-01-20 02:22:25 +0000
commitf34b6e803d116b5e69910e473e91637a3514ca13 (patch)
tree0aeec6d701d04b2f915e3d4e1f702dbde96bd02f
parent620fb60797d1b9ef46a4b526bf8759ec0387fac8 (diff)
downloademacs-f34b6e803d116b5e69910e473e91637a3514ca13.tar.gz
(init_display): Use `fatal'.
-rw-r--r--src/dispnew.c8
1 files 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);