diff options
Diffstat (limited to 'apps/plugins/text_viewer/tv_text_reader.c')
-rw-r--r-- | apps/plugins/text_viewer/tv_text_reader.c | 6 |
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 @@ | |||
29 | static int get_block; | 29 | static int get_block; |
30 | static bool get_double_blocks; | 30 | static bool get_double_blocks; |
31 | 31 | ||
32 | bool tv_init_text_reader(void) | 32 | bool 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 | ||
39 | void tv_finalize_text_reader(void) | 37 | void tv_finalize_text_reader(void) |