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

Comparing ray/src/util/rfluxmtx.c (file contents):
Revision 2.48 by greg, Mon Jul 29 22:52:39 2019 UTC vs.
Revision 2.49 by greg, Tue Dec 10 19:15:54 2019 UTC

# Line 141 | Line 141 | oconv_command(int ac, char *av[])
141          if (ac-- <= 0)
142                  return(NULL);
143          if (verbose < 0) {      /* turn off warnings */
144 <                strcpy(cp, "-w- ");
144 >                strcpy(cp, "-w ");
145                  cp += 4;
146          }
147          while (ac-- > 0) {      /* copy each argument */
# Line 1244 | Line 1244 | main(int argc, char *argv[])
1244                          na = 0;
1245                          continue;
1246                  case 'w':               /* options without arguments */
1247 <                        if (argv[a][2] != '+') verbose = -1;
1247 >                        if (!argv[a][2] || strchr("+1tTyY", argv[a][2]) == NULL)
1248 >                                verbose = -1;
1249 >                        break;
1250                  case 'V':
1251                  case 'u':
1252                  case 'h':

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines