main.c, unuse `gotone'

This commit is contained in:
rlar 2011-07-02 15:22:16 +00:00
parent cf6a15ed42
commit 00e783eeca
1 changed files with 6 additions and 7 deletions

View File

@ -776,11 +776,11 @@ int
main(int argc, char **argv)
{
int err;
bool gotone = FALSE;
bool addctrlsect = TRUE; /* PN: for autorun */
#ifdef SIMULATOR
bool gotone = FALSE;
int error2;
@ -1292,12 +1292,11 @@ evl:
#else /* ~ SIMULATOR */
if (ft_nutmeg && gdata) {
while (optind < argc) {
ft_loadfile(argv[optind++]);
gotone = TRUE;
}
if (!gotone)
ft_loadfile(ft_rawfile);
if (optind < argc)
while (optind < argc)
ft_loadfile(argv[optind++]);
else
ft_loadfile(ft_rawfile);
}
evl: