mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-07 05:35:02 -05:00
Moved the declaration of the ofr variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7435 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
68de2581ba
commit
985ae73758
1 changed files with 3 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue