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

Comparing ray/src/rt/editline.c (file contents):
Revision 2.6 by greg, Mon Jun 30 19:04:29 2003 UTC vs.
Revision 2.7 by schorsch, Sun Jul 27 22:12:03 2003 UTC

# Line 84 | Line 84 | register struct driver  *d;
84          for (cp = mybuf; *cp; cp++)
85                  ;
86          comstart = cp;
87 <        while (*cp++ = *b)
87 >        while ( (*cp++ = *b) )
88                  if (cp >= mybuf+sizeof(mybuf)) {
89                          *comstart = '\0';
90                          return;         /* what should I do about this? */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines