diff src/emacs.c @ 19030:469abf255dcb

(sort_args): Check properly for `--'.
author Richard M. Stallman <rms@gnu.org>
date Tue, 29 Jul 1997 00:53:09 +0000
parents b8d11c38bff9
children a4620c4c0881
line wrap: on
line diff
--- a/src/emacs.c	Mon Jul 28 23:37:45 1997 +0000
+++ b/src/emacs.c	Tue Jul 29 00:53:09 1997 +0000
@@ -1223,7 +1223,7 @@
 
 	  /* If we have found "--", don't consider
 	     any more arguments as options.  */
-	  if (argv[from][1] == '-')
+	  if (argv[from][1] == '-' && argv[from][2] == 0)
 	    {
 	      /* Leave the "--", and everything following it, at the end.  */
 	      for (; from < argc; from++)