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:
Tomer Shalev 2010-04-07 17:12:20 +00:00
parent c56d2b50b3
commit c8ab419ed7

View file

@ -725,8 +725,8 @@ static void calc_max_width(void)
}
}
bool done = false;
int col = 0;
static bool done = false;
static int col = 0;
#define ADVANCE_COUNTERS(c) { width += glyph_width(c); k++; }
#define LINE_IS_FULL ((k>=max_columns-1) ||( width >= max_width))