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

Comparing ray/src/px/ra_bmp.c (file contents):
Revision 2.5 by greg, Fri Apr 30 17:30:33 2004 UTC vs.
Revision 2.6 by greg, Fri Apr 30 17:56:06 2004 UTC

# Line 41 | Line 41 | main(int argc, char *argv[])
41          progname = argv[0];
42  
43          for (i = 1; i < argc; i++)
44 <                if (argv[i][0] == '-')
44 >                if (argv[i][0] == '-' && argv[i][1])
45                          switch (argv[i][1]) {
46                          case 'b':
47                                  rgbp = NULL;
# Line 71 | Line 71 | main(int argc, char *argv[])
71                                  break;
72                          case 'r':
73                                  reverse = !reverse;
74                                break;
75                        case '\0':
74                                  break;
75                          default:
76                                  goto userr;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines