diff options
Diffstat (limited to 'tools/convbdf.c')
-rw-r--r-- | tools/convbdf.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/convbdf.c b/tools/convbdf.c index e369a91966..14561869a2 100644 --- a/tools/convbdf.c +++ b/tools/convbdf.c | |||
@@ -866,15 +866,10 @@ int gen_c_source(struct font* pf, char *path) | |||
866 | int y8, ix=0; | 866 | int y8, ix=0; |
867 | 867 | ||
868 | rotleft(bytemap, bits, width, pf->height); | 868 | rotleft(bytemap, bits, width, pf->height); |
869 | ofs = (bitmap_t*)bytemap; | ||
870 | for (y8=0; y8<pf->height; y8+=8) /* column rows */ | 869 | for (y8=0; y8<pf->height; y8+=8) /* column rows */ |
871 | { | 870 | { |
872 | for (x=0; x<width; x++) { | 871 | for (x=0; x<width; x++) { |
873 | fprintf(ofp, "0x%02x, ", bytemap[ix]); | 872 | fprintf(ofp, "0x%02x, ", bytemap[ix]); |
874 | if (!did_syncmsg && bytemap[ix] != *ofs++) { | ||
875 | fprintf(stderr, "Warning: found encoding values in non-sorted order (not an error).\n"); | ||
876 | did_syncmsg = 1; | ||
877 | } | ||
878 | ix++; | 873 | ix++; |
879 | } | 874 | } |
880 | fprintf(ofp, "\n"); | 875 | fprintf(ofp, "\n"); |