diff options
author | Tomer Shalev <shalev.tomer@gmail.com> | 2010-04-07 17:12:20 +0000 |
---|---|---|
committer | Tomer Shalev <shalev.tomer@gmail.com> | 2010-04-07 17:12:20 +0000 |
commit | c8ab419ed72ca5483e8db69db7d362aa5225ccf7 (patch) | |
tree | 7f7ffedcad9fab4453488922a1fb4a8a9d7a6599 /apps/plugins | |
parent | c56d2b50b322468658f4f7c40dacbac1e057382c (diff) | |
download | rockbox-c8ab419ed72ca5483e8db69db7d362aa5225ccf7.tar.gz rockbox-c8ab419ed72ca5483e8db69db7d362aa5225ccf7.zip |
Text viewer: Make global variables static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25512 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/viewer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index 73b145d009..1a8b5f140e 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c | |||
@@ -725,8 +725,8 @@ static void calc_max_width(void) | |||
725 | } | 725 | } |
726 | } | 726 | } |
727 | 727 | ||
728 | bool done = false; | 728 | static bool done = false; |
729 | int col = 0; | 729 | static int col = 0; |
730 | 730 | ||
731 | #define ADVANCE_COUNTERS(c) { width += glyph_width(c); k++; } | 731 | #define ADVANCE_COUNTERS(c) { width += glyph_width(c); k++; } |
732 | #define LINE_IS_FULL ((k>=max_columns-1) ||( width >= max_width)) | 732 | #define LINE_IS_FULL ((k>=max_columns-1) ||( width >= max_width)) |