ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/ranimove.c
(Generate patch)

Comparing ray/src/util/ranimove.c (file contents):
Revision 3.16 by schorsch, Sun Mar 6 01:13:18 2016 UTC vs.
Revision 3.17 by greg, Mon Mar 21 19:06:08 2016 UTC

# 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);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines