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

Comparing ray/src/common/tmapluv.c (file contents):
Revision 3.8 by greg, Tue Jul 15 07:28:09 2003 UTC vs.
Revision 3.9 by schorsch, Sun Jul 27 22:12:01 2003 UTC

# Line 136 | Line 136 | int    len;
136                                          /* check arguments */
137          if (tmTop == NULL)
138                  returnErr(TM_E_TMINVAL);
139 <        if (ls == NULL | luvs == NULL | len < 0)
139 >        if ((ls == NULL) | (luvs == NULL) | (len < 0))
140                  returnErr(TM_E_ILLEGAL);
141                                          /* check package registration */
142          if (luv32Reg < 0) {
# Line 196 | Line 196 | int    len;
196                                          /* check arguments */
197          if (tmTop == NULL)
198                  returnErr(TM_E_TMINVAL);
199 <        if (ls == NULL | luvs == NULL | len < 0)
199 >        if ((ls == NULL) | (luvs == NULL) | (len < 0))
200                  returnErr(TM_E_ILLEGAL);
201                                          /* check package registration */
202          if (luv24Reg < 0) {
# Line 256 | Line 256 | int    len;
256                                          /* check arguments */
257          if (tmTop == NULL)
258                  returnErr(TM_E_TMINVAL);
259 <        if (ls == NULL | l16s == NULL | len < 0)
259 >        if ((ls == NULL) | (l16s == NULL) | (len < 0))
260                  returnErr(TM_E_ILLEGAL);
261                                          /* check scaling offset */
262          if (!FEQ(tmTop->inpsf, lastsf)) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines