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 53c8f67..ec1c138 100644 --- a/apps/plugins/text_viewer/tv_text_reader.c +++ b/apps/plugins/text_viewer/tv_text_reader.c @@ -29,11 +29,9 @@ static int get_block; static bool get_double_blocks; -bool tv_init_text_reader(void) +bool tv_init_text_reader(unsigned char **buf, size_t *size) { - tv_init_text_processor(); - - return tv_init_pager(); + return tv_init_text_processor(buf, size) && tv_init_pager(buf, size); } void tv_finalize_text_reader(void) |