From: Karl Heuer Date: Wed, 13 Dec 1995 02:33:20 +0000 (+0000) Subject: (main): Fix args to handle `--display DISPLAY'. X-Git-Tag: emacs-19.34~2139 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=813f79d532f7fb4a1b9657649e884614460a606c;p=emacs.git (main): Fix args to handle `--display DISPLAY'. --- diff --git a/src/emacs.c b/src/emacs.c index 052546a13ca..08238e233d4 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -620,7 +620,7 @@ Usage: %s [-t term] [--terminal term] [-nw] [--no-windows] [--batch]\n\ /* 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;