# | 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); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |