forked from len0rd/rockbox
removed the now broken out-of-sequence check for rotated operation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5017 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f8a5802d8e
commit
ac84357fa5
1 changed files with 0 additions and 5 deletions
|
|
@ -866,15 +866,10 @@ int gen_c_source(struct font* pf, char *path)
|
||||||
int y8, ix=0;
|
int y8, ix=0;
|
||||||
|
|
||||||
rotleft(bytemap, bits, width, pf->height);
|
rotleft(bytemap, bits, width, pf->height);
|
||||||
ofs = (bitmap_t*)bytemap;
|
|
||||||
for (y8=0; y8<pf->height; y8+=8) /* column rows */
|
for (y8=0; y8<pf->height; y8+=8) /* column rows */
|
||||||
{
|
{
|
||||||
for (x=0; x<width; x++) {
|
for (x=0; x<width; x++) {
|
||||||
fprintf(ofp, "0x%02x, ", bytemap[ix]);
|
fprintf(ofp, "0x%02x, ", bytemap[ix]);
|
||||||
if (!did_syncmsg && bytemap[ix] != *ofs++) {
|
|
||||||
fprintf(stderr, "Warning: found encoding values in non-sorted order (not an error).\n");
|
|
||||||
did_syncmsg = 1;
|
|
||||||
}
|
|
||||||
ix++;
|
ix++;
|
||||||
}
|
}
|
||||||
fprintf(ofp, "\n");
|
fprintf(ofp, "\n");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue