summaryrefslogtreecommitdiff
path: root/apps/plugins/viewer.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/viewer.c')
-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)
}
}
-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))