From 985ae73758477aaa08fcf55ce99090f591772764 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Wed, 31 Aug 2005 17:26:22 +0000 Subject: Moved the declaration of the ofr variable git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7435 a1c6a512-1295-4272-9138-f99709370657 --- tools/convbdf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; isize; ++i) { bitmap_t* bits = pf->bits + (pf->offset? pf->offset[i]: (pf->height * i)); -- cgit v1.2.3