changeset 13721:eb5fa0aa172e

(main): Fix args to handle `--display DISPLAY'.
author Karl Heuer <kwzh@gnu.org>
date Wed, 13 Dec 1995 02:33:20 +0000
parents 67f9d3f1fd6b
children e2669b8a46e2
files src/emacs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Wed Dec 13 02:30:33 1995 +0000
+++ b/src/emacs.c	Wed Dec 13 02:33:20 1995 +0000
@@ -620,7 +620,7 @@
     /* Change --display to -d, when its arg is separate.  */
     else if (displayname != 0 && skip_args > count_before
 	     && argv[count_before + 1][1] == '-')
-      argv[count_before] = "-d";
+      argv[count_before + 1] = "-d";
 
     /* Don't actually discard this arg.  */
     skip_args = count_before;