Text viewer: Make global variables static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25512 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c56d2b50b3
commit
c8ab419ed7
1 changed files with 2 additions and 2 deletions
|
@ -725,8 +725,8 @@ static void calc_max_width(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool done = false;
|
static bool done = false;
|
||||||
int col = 0;
|
static int col = 0;
|
||||||
|
|
||||||
#define ADVANCE_COUNTERS(c) { width += glyph_width(c); k++; }
|
#define ADVANCE_COUNTERS(c) { width += glyph_width(c); k++; }
|
||||||
#define LINE_IS_FULL ((k>=max_columns-1) ||( width >= max_width))
|
#define LINE_IS_FULL ((k>=max_columns-1) ||( width >= max_width))
|
||||||
|
|
Loading…
Reference in a new issue