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

Comparing ray/src/px/pcond4.c (file contents):
Revision 3.13 by greg, Sat Jan 11 19:34:22 1997 UTC vs.
Revision 3.14 by greg, Tue Jan 28 16:31:17 1997 UTC

# Line 285 | Line 285 | SCANBAR        *sb;
285                                          /* get scanlines */
286          sl0 = getascan(sb, iy);
287   #ifdef DEBUG
288 <        if (sl0 == NULL) {
289 <                fprintf(stderr, "%s: internal - cannot backspace in ascanval\n",
290 <                                progname);
291 <                abort();
292 <        }
288 >        if (sl0 == NULL)
289 >                error(INTERNAL, "cannot backspace in ascanval");
290   #endif
291          sl1 = getascan(sb, iy+1);
292                                          /* 2D linear interpolation */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines