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

Comparing ray/src/px/x11image.c (file contents):
Revision 2.60 by schorsch, Thu Jun 26 00:58:10 2003 UTC vs.
Revision 2.61 by schorsch, Mon Jun 30 14:59:12 2003 UTC

# Line 18 | Line 18 | static const char RCSid[] = "$Id";
18  
19   #include  "standard.h"
20  
21 + #include  <string.h>
22   #include  <signal.h>
23   #include  <X11/Xlib.h>
24   #include  <X11/cursorfont.h>
# Line 1309 | Line 1310 | int  y;
1310          static int  trunced = -1;               /* truncated file? */
1311   skipit:
1312          if (trunced >= 0 && y >= trunced) {
1313 <                bzero(scanline, xmax*sizeof(COLR));
1313 >                memset(scanline, '\0', xmax*sizeof(COLR));
1314                  return(-1);
1315          }
1316          if (y != cury) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines