forgot to check one file in

This commit is contained in:
Asad M. Zaman 2003-11-24 18:14:09 +00:00
parent ee16b8ac99
commit c2c32a4c2f

View File

@ -233,7 +233,7 @@ DoGetopts(int &argc, char **&argv) {
softegg_cat.info() << endl << _commandLine << endl; softegg_cat.info() << endl << _commandLine << endl;
i = 1; i = 1;
while ((i < argc-1) && (argv[i][0] == '-') && okflag) { while ((i < argc) && (argv[i][0] == '-') && okflag) {
softegg_cat.info() << "arg " << i << " is " << argv[i] << "\n"; softegg_cat.info() << "arg " << i << " is " << argv[i] << "\n";
okflag = HandleGetopts(i, argc, argv); okflag = HandleGetopts(i, argc, argv);
} }
@ -430,19 +430,13 @@ HandleGetopts(int &idx, int argc, char **argv)
break; break;
case 'b': // Set animation start frame. case 'b': // Set animation start frame.
if ( strcmp( argv[idx+1], "" ) ) { anim_start = atoi(argv[idx]+2);
anim_start = atoi(argv[idx+1]); softegg_cat.info() << "animation starting at frame: " << anim_start << endl;
softegg_cat.info() << "animation starting at frame: " << anim_start << endl;
}
++idx;
break; break;
case 'e': /// Set animation end frame. case 'e': /// Set animation end frame.
if ( strcmp( argv[idx+1], "" ) ) { anim_end = atoi(argv[idx]+2);
anim_end = atoi(argv[idx+1]); softegg_cat.info() << "animation ending at frame: " << anim_end << endl;
softegg_cat.info() << "animation ending at frame: " << anim_end << endl;
}
++idx;
break; break;
case 'f': /// Set animation frame rate. case 'f': /// Set animation frame rate.