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

Comparing ray/src/rt/rv3.c (file contents):
Revision 2.11 by greg, Tue Feb 25 02:47:23 2003 UTC vs.
Revision 2.12 by schorsch, Mon Jun 30 14:59:13 2003 UTC

# Line 9 | Line 9 | static const char      RCSid[] = "$Id$";
9  
10   #include "copyright.h"
11  
12 < #include  "ray.h"
12 > #include <string.h>
13  
14 + #include  "ray.h"
15   #include  "rpaint.h"
15
16   #include  "random.h"
17  
18   #ifndef WFLUSH
# Line 371 | Line 371 | register VIEW  *vp;
371          if ((err = setview(vp)) != NULL) {
372                  sprintf(errmsg, "view not set - %s", err);
373                  error(COMMAND, errmsg);
374 <        } else if (bcmp((char *)vp, (char *)&ourview, sizeof(VIEW))) {
374 >        } else if (memcmp((char *)vp, (char *)&ourview, sizeof(VIEW))) {
375                  copystruct(&oldview, &ourview);
376                  copystruct(&ourview, vp);
377                  newimage();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines