1
0
Fork 0
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:
Alexander Levin 2009-03-06 23:18:47 +00:00
parent 3884266ead
commit 2af0b60aaa

View file

@ -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;*/