# | Line 350 | Line 350 | setrendparams( /* set global rendering parameters */ | |
---|---|---|
350 | av[ac=0] = NULL; | |
351 | /* load options from file, first */ | |
352 | if (optf != NULL && *optf) { | |
353 | < | ac = wordfile(av, optf); |
353 | > | ac = wordfile(av, 1024, optf); |
354 | if (ac < 0) { | |
355 | sprintf(errmsg, "cannot load options file \"%s\"", | |
356 | optf); | |
# | Line 359 | Line 359 | setrendparams( /* set global rendering parameters */ | |
359 | } | |
360 | /* then from options string */ | |
361 | if (qval != NULL && qval[0] == '-') | |
362 | < | ac += wordstring(av+ac, qval); |
362 | > | ac += wordstring(av+ac, 1024-ac, qval); |
363 | ||
364 | /* restore default parameters */ | |
365 | ray_restore(NULL); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |