comparison src/emacs.c @ 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 655d3464a49b
children 15e38bb8df9c
comparison
equal deleted inserted replaced
13720:67f9d3f1fd6b 13721:eb5fa0aa172e
618 argc++; 618 argc++;
619 } 619 }
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;
627 } 627 }
628 #endif 628 #endif