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.18 by schorsch, Fri Mar 26 21:29:19 2004 UTC vs.
Revision 2.20 by greg, Tue Mar 22 03:56:17 2016 UTC

# Line 9 | Line 9 | static const char      RCSid[] = "$Id$";
9  
10   #include <stdlib.h>
11  
12 + #include "paths.h"
13   #include "rtio.h"
14   #include "rterror.h"
15   #include "font.h"
# Line 41 | Line 42 | char  *fname;
42                                                  /* load the font file */
43          if ((pathname = getpath(fname, getrlibpath(), R_OK)) == NULL) {
44                  sprintf(errmsg, "cannot find font file \"%s\"", fname);
45 <                error(USER, errmsg);
45 >                error(SYSTEM, errmsg);
46          }
47          f = (FONT *)calloc(1, sizeof(FONT));
48          if (f == NULL)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines