forked from len0rd/rockbox
Remove the check since it can fail if the chars to process were limited per command line options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20221 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3884266ead
commit
2af0b60aaa
1 changed files with 0 additions and 4 deletions
|
@ -464,10 +464,6 @@ int bdf_read_header(FILE *fp, struct font* pf)
|
||||||
/* calc font size (offset/width entries) */
|
/* calc font size (offset/width entries) */
|
||||||
pf->firstchar = firstchar;
|
pf->firstchar = firstchar;
|
||||||
pf->size = lastchar - firstchar + 1;
|
pf->size = lastchar - firstchar + 1;
|
||||||
if (pf->size < pf->nchars) {
|
|
||||||
fprintf(stderr, "Error: NCHARS and max code mismatch\n");
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* use the font boundingbox to get initial maxwidth */
|
/* use the font boundingbox to get initial maxwidth */
|
||||||
/*maxwidth = pf->fbbw - pf->fbbx;*/
|
/*maxwidth = pf->fbbw - pf->fbbx;*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue