Small patch for output in case where lineno not defined.
This commit is contained in:
parent
67accef4d3
commit
c7beacf916
|
@ -65,7 +65,7 @@ fatal (const char *file, int lineno, const char *msg)
|
||||||
if (lineno)
|
if (lineno)
|
||||||
fprintf (stderr, "%s:%d: %s\n", file, lineno, msg);
|
fprintf (stderr, "%s:%d: %s\n", file, lineno, msg);
|
||||||
else
|
else
|
||||||
fprintf (stderr, "%s:%d: %s\n", file, lineno, msg);
|
fprintf (stderr, "%s: %s\n", file, msg);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
14
src/fcint.h
14
src/fcint.h
|
@ -245,13 +245,13 @@ typedef struct _FcStrBuf {
|
||||||
} FcStrBuf;
|
} FcStrBuf;
|
||||||
|
|
||||||
typedef struct _FcCache {
|
typedef struct _FcCache {
|
||||||
int magic;
|
int magic; /* 0xFC02FC02 */
|
||||||
int count;
|
int count; /* number of bytes of data in block */
|
||||||
int bank;
|
int bank; /* bank ID */
|
||||||
int pattern_count;
|
int pattern_count; /* number of FcPatterns */
|
||||||
int patternelt_count;
|
int patternelt_count; /* number of FcPatternElts */
|
||||||
int valuelist_count;
|
int valuelist_count; /* number of FcValueLists */
|
||||||
int str_count;
|
int str_count; /* number of FcStrs */
|
||||||
int langset_count;
|
int langset_count;
|
||||||
int charset_count;
|
int charset_count;
|
||||||
int charset_numbers_count;
|
int charset_numbers_count;
|
||||||
|
|
Loading…
Reference in New Issue