aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1995-12-13 02:33:20 +0000
committerKarl Heuer1995-12-13 02:33:20 +0000
commit813f79d532f7fb4a1b9657649e884614460a606c (patch)
treec9ff60cbc935df01ba0561cee631bd68df6f152b /src
parent15d759001c50afdbd28dffc9201830c7966783b7 (diff)
downloademacs-813f79d532f7fb4a1b9657649e884614460a606c.tar.gz
emacs-813f79d532f7fb4a1b9657649e884614460a606c.zip
(main): Fix args to handle `--display DISPLAY'.
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c2
1 files changed, 1 insertions, 1 deletions
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\
620 /* Change --display to -d, when its arg is separate. */ 620 /* Change --display to -d, when its arg is separate. */
621 else if (displayname != 0 && skip_args > count_before 621 else if (displayname != 0 && skip_args > count_before
622 && argv[count_before + 1][1] == '-') 622 && argv[count_before + 1][1] == '-')
623 argv[count_before] = "-d"; 623 argv[count_before + 1] = "-d";
624 624
625 /* Don't actually discard this arg. */ 625 /* Don't actually discard this arg. */
626 skip_args = count_before; 626 skip_args = count_before;