summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2010-04-07 17:12:20 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2010-04-07 17:12:20 +0000
commitc8ab419ed72ca5483e8db69db7d362aa5225ccf7 (patch)
tree7f7ffedcad9fab4453488922a1fb4a8a9d7a6599 /apps
parentc56d2b50b322468658f4f7c40dacbac1e057382c (diff)
downloadrockbox-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')
-rw-r--r--apps/plugins/viewer.c4
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
728bool done = false; 728static bool done = false;
729int col = 0; 729static 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))