diff options
author | Patrick Lam <plam@MIT.EDU> | 2005-09-23 01:48:33 +0000 |
---|---|---|
committer | Patrick Lam <plam@MIT.EDU> | 2005-09-23 01:48:33 +0000 |
commit | c7beacf91698e8b0dcba2e813052538ec56dd268 (patch) | |
tree | 014e47487395752505988ce41826a5ea2d40b108 | |
parent | 67accef4d3e245c1dea341e633d82b14aa03432a (diff) |
Small patch for output in case where lineno not defined.
-rw-r--r-- | fc-lang/fc-lang.c | 2 | ||||
-rw-r--r-- | src/fcint.h | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/fc-lang/fc-lang.c b/fc-lang/fc-lang.c index 27508c0..2d7aa4e 100644 --- a/fc-lang/fc-lang.c +++ b/fc-lang/fc-lang.c @@ -65,7 +65,7 @@ fatal (const char *file, int lineno, const char *msg) if (lineno) fprintf (stderr, "%s:%d: %s\n", file, lineno, msg); else - fprintf (stderr, "%s:%d: %s\n", file, lineno, msg); + fprintf (stderr, "%s: %s\n", file, msg); exit (1); } diff --git a/src/fcint.h b/src/fcint.h index b34d1ea..4165011 100644 --- a/src/fcint.h +++ b/src/fcint.h @@ -245,13 +245,13 @@ typedef struct _FcStrBuf { } FcStrBuf; typedef struct _FcCache { - int magic; - int count; - int bank; - int pattern_count; - int patternelt_count; - int valuelist_count; - int str_count; + int magic; /* 0xFC02FC02 */ + int count; /* number of bytes of data in block */ + int bank; /* bank ID */ + int pattern_count; /* number of FcPatterns */ + int patternelt_count; /* number of FcPatternElts */ + int valuelist_count; /* number of FcValueLists */ + int str_count; /* number of FcStrs */ int langset_count; int charset_count; int charset_numbers_count; |