diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-08-31 17:26:22 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-08-31 17:26:22 +0000 |
commit | 985ae73758477aaa08fcf55ce99090f591772764 (patch) | |
tree | 650965a97c5e0eba898accf5ab6934ad62702f7a | |
parent | 68de2581ba68282bbda9c63bc209c43252f1336c (diff) | |
download | rockbox-985ae73758477aaa08fcf55ce99090f591772764.tar.gz rockbox-985ae73758477aaa08fcf55ce99090f591772764.zip |
Moved the declaration of the ofr variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7435 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | tools/convbdf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/convbdf.c b/tools/convbdf.c index 002fb6f513..ace2e1bd62 100644 --- a/tools/convbdf.c +++ b/tools/convbdf.c @@ -1016,6 +1016,9 @@ int gen_fnt_file(struct font* pf, char *path) FILE *ofp; int i; int did_defaultchar = 0; +#ifdef ROTATE + int ofr = 0; +#endif ofp = fopen(path, "wb"); if (!ofp) { @@ -1047,7 +1050,6 @@ int gen_fnt_file(struct font* pf, char *path) writelong(ofp, pf->width? pf->size: 0); /* # bytes of width*/ /* variable font data*/ #ifdef ROTATE - int ofr = 0; for (i=0; i<pf->size; ++i) { bitmap_t* bits = pf->bits + (pf->offset? pf->offset[i]: (pf->height * i)); |