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

Comparing ray/src/common/font.c (file contents):
Revision 2.8 by greg, Thu May 20 14:32:50 1993 UTC vs.
Revision 2.9 by greg, Thu Apr 14 04:44:43 1994 UTC

# Line 15 | Line 15 | static char SCCSid[] = "$SunId$ LBL";
15   #define galloc(nv)      (GLYPH *)malloc(sizeof(GLYPH)+2*sizeof(GORD)*(nv))
16  
17  
18 < extern char  *libpath;                  /* list of library directories */
18 > extern char  *fgetword(), *getlibpath();
19  
20 extern char  *fgetword();
21
20   static FONT     *fontlist = NULL;       /* list of loaded fonts */
21  
22  
# Line 40 | Line 38 | char  *fname;
38                  if (!strcmp(f->name, fname))
39                          return(f);
40                                                  /* load the font file */
41 <        if ((pathname = getpath(fname, libpath, R_OK)) == NULL) {
41 >        if ((pathname = getpath(fname, getlibpath(), R_OK)) == NULL) {
42                  sprintf(errmsg, "cannot find font file \"%s\"", fname);
43                  error(USER, errmsg);
44          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines