summaryrefslogtreecommitdiff
path: root/apps/plugins/text_viewer/tv_text_processor.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/text_viewer/tv_text_processor.c')
-rw-r--r--apps/plugins/text_viewer/tv_text_processor.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/plugins/text_viewer/tv_text_processor.c b/apps/plugins/text_viewer/tv_text_processor.c
index f9a2fad1f2..3ad388e6c5 100644
--- a/apps/plugins/text_viewer/tv_text_processor.c
+++ b/apps/plugins/text_viewer/tv_text_processor.c
@@ -544,11 +544,16 @@ int tv_create_formed_text(const unsigned char *src, ssize_t bufsize,
return size;
}
-void tv_init_text_processor(void)
+bool tv_init_text_processor(unsigned char **buf, size_t *size)
{
+ /* unused : no need for dynamic buffer yet */
+ (void)buf;
+ (void)size;
+
text_type = TV_TEXT_UNKNOWN;
expand_extra_line = false;
is_break_line = false;
+ return true;
}
void tv_set_creation_conditions(int blocks, int width)