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

Comparing ray/src/px/psign.c (file contents):
Revision 2.22 by schorsch, Mon Jun 30 14:59:12 2003 UTC vs.
Revision 2.24 by greg, Wed Oct 22 02:06:35 2003 UTC

# Line 11 | Line 11 | static const char      RCSid[] = "$Id$";
11  
12   #include  <string.h>
13  
14 #include  "standard.h"
14   #include  "platform.h"
15 + #include  "standard.h"
16   #include  "color.h"
17   #include  "font.h"
18  
# Line 229 | Line 229 | FILE  *fp;
229                  len = strlen(buf);
230                  curl->s = (char *)malloc(len);
231                  curl->sp = (short *)malloc(sizeof(short)*len--);
232 <                if (curl->s == NULL | curl->sp == NULL)
232 >                if ((curl->s == NULL) | (curl->sp == NULL))
233                          goto memerr;
234                  if (len > maxline)
235                          maxline = len;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines