changeset 69604:2304cf13ec80

(main): Fix last change.
author Eli Zaretskii <eliz@gnu.org>
date Mon, 20 Mar 2006 20:33:33 +0000
parents a0ab0382b7ca
children 2d529c65c661
files src/emacs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Mon Mar 20 15:08:56 2006 +0000
+++ b/src/emacs.c	Mon Mar 20 20:33:33 2006 +0000
@@ -1488,7 +1488,7 @@
     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);