summaryrefslogtreecommitdiff
path: root/apps/plugins/text_viewer/tv_text_reader.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/text_viewer/tv_text_reader.c')
-rw-r--r--apps/plugins/text_viewer/tv_text_reader.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/plugins/text_viewer/tv_text_reader.c b/apps/plugins/text_viewer/tv_text_reader.c
index 53c8f6738f..ec1c138df0 100644
--- a/apps/plugins/text_viewer/tv_text_reader.c
+++ b/apps/plugins/text_viewer/tv_text_reader.c
@@ -29,11 +29,9 @@
29static int get_block; 29static int get_block;
30static bool get_double_blocks; 30static bool get_double_blocks;
31 31
32bool tv_init_text_reader(void) 32bool tv_init_text_reader(unsigned char **buf, size_t *size)
33{ 33{
34 tv_init_text_processor(); 34 return tv_init_text_processor(buf, size) && tv_init_pager(buf, size);
35
36 return tv_init_pager();
37} 35}
38 36
39void tv_finalize_text_reader(void) 37void tv_finalize_text_reader(void)