From e291625152dcaa94337755752ab1c20ec8decd32 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 20 Mar 2006 20:34:16 +0000 Subject: [PATCH] (main): Fix last change. --- src/ChangeLog | 4 ++++ src/emacs.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 901ca108b1e..695d72d10a3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2006-03-20 Eli Zaretskii + + * emacs.c (main): Fix last change. + 2006-03-20 Kenichi Handa * fileio.c (Fwrite_region): Set visit_file to Qnil before GCPRO diff --git a/src/emacs.c b/src/emacs.c index 259c8c3381e..62a23f70859 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -1488,7 +1488,7 @@ main (argc, argv skip_args = count_before; /* Do not be lenient if the user explicitly asked for a named display. */ - if (display_arg != 1 && !x_display_ok (displayname)) + if (display_arg == 1 && !x_display_ok (displayname)) { fprintf (stderr, "Display %s unavailable, simulating -nw\n", displayname); -- 2.39.2