diff options
author | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-08-26 22:29:16 +0000 |
---|---|---|
committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-08-26 22:29:16 +0000 |
commit | ac84357fa59718f5f9e63a1e219673ca861e7998 (patch) | |
tree | 189ba62cb96318e32142a176d6694035c4c4c21c /tools/convbdf.c | |
parent | f8a5802d8e6434a4ffb3f9e09b8c128c6bc7fc83 (diff) | |
download | rockbox-ac84357fa59718f5f9e63a1e219673ca861e7998.tar.gz rockbox-ac84357fa59718f5f9e63a1e219673ca861e7998.zip |
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
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"); |