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

Comparing ray/src/px/pfilt.c (file contents):
Revision 1.4 by greg, Tue Apr 11 21:50:05 1989 UTC vs.
Revision 1.5 by greg, Thu Apr 13 07:52:50 1989 UTC

# Line 88 | Line 88 | char  **argv;
88                          switch (argv[i][1]) {
89                          case 'x':
90                                  i++;
91 <                                if (argv[i][0] == '/')
91 >                                if (argv[i][0] == '/') {
92                                          x_c = 1.0/atof(argv[i]+1);
93 <                                else
93 >                                        ncols = 0;
94 >                                } else
95                                          ncols = atoi(argv[i]);
96                                  break;
97                          case 'y':
98                                  i++;
99 <                                if (argv[i][0] == '/')
99 >                                if (argv[i][0] == '/') {
100                                          y_r = 1.0/atof(argv[i]+1);
101 <                                else
101 >                                        nrows = 0;
102 >                                } else
103                                          nrows = atoi(argv[i]);
104                                  break;
105                          case 'e':

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines