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.13 by greg, Tue Feb 25 02:47:21 2003 UTC vs.
Revision 2.15 by schorsch, Sat Jun 7 12:50:20 2003 UTC

# Line 37 | Line 37 | char  *fname;
37                          return(f);
38                  }
39                                                  /* load the font file */
40 <        if ((pathname = getpath(fname, getlibpath(), R_OK)) == NULL) {
40 >        if ((pathname = getpath(fname, getrlibpath(), R_OK)) == NULL) {
41                  sprintf(errmsg, "cannot find font file \"%s\"", fname);
42                  error(USER, errmsg);
43          }
# Line 117 | Line 117 | fonterr:
117          error(USER, errmsg);
118   memerr:
119          error(SYSTEM, "out of memory in fontglyph");
120 +        return NULL; /* pro forma return */
121   }
122  
123  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines