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

Comparing ray/src/px/panim.c (file contents):
Revision 2.2 by greg, Sat Feb 22 02:07:27 2003 UTC vs.
Revision 2.3 by schorsch, Mon Jun 30 14:59:12 2003 UTC

# Line 8 | Line 8 | static const char      RCSid[] = "$Id$";
8   */
9  
10   #include <stdio.h>
11 + #include <string.h>
12  
13   #include "random.h"
14   #include "color.h"
# Line 115 | Line 116 | char   *file;
116          xbeg = (SCANLINE-xres)/2;
117          ybeg = (NUMSCANS-yres)/2;
118                                                  /* clear output */
119 <        bzero(sc_frame_arr, sizeof(sc_frame_arr));
119 >        memset(sc_frame_arr, '\0', sizeof(sc_frame_arr));
120                                                  /* get frame */
121          for (y = yres-1; y >= 0; y--) {
122                  if (freadcolrs(scanin, xres, fp) < 0) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines