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.26 by greg, Mon Jan 1 03:03:32 2007 UTC vs.
Revision 2.28 by greg, Fri Nov 19 22:51:31 2021 UTC

# Line 139 | Line 139 | unkopt:
139                  }
140                                          /* load font file */
141          ourfont = getfont(fontfile);
142 +        if (!ourfont)
143 +                exit(1);
144                                          /* get text */
145          if (an == argc)
146                  get_text(stdin);
# Line 218 | Line 220 | makemap(void)                  /* create the bit map */
220          if (ysiz % SSS)
221                  ysiz += SSS - ysiz%SSS;
222          xdim = (xsiz+7)/8;
223 <        ourbitmap = (BYTE *)bmalloc(ysiz*xdim);
223 >        ourbitmap = (uby8 *)bmalloc(ysiz*xdim);
224          if (ourbitmap == NULL)
225                  error(SYSTEM, "Out of memory in makemap");
226          memset((char *)ourbitmap, '\0', ysiz*xdim);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines