summaryrefslogtreecommitdiff
path: root/src/til_fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/til_fb.c')
-rw-r--r--src/til_fb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/til_fb.c b/src/til_fb.c
index fd008ca..aa20fd9 100644
--- a/src/til_fb.c
+++ b/src/til_fb.c
@@ -486,7 +486,7 @@ til_fb_t * til_fb_free(til_fb_t *fb)
/* create a new fb instance */
-int til_fb_new(const til_fb_ops_t *ops, const til_setup_t *setup, int n_pages, til_fb_t **res_fb)
+int til_fb_new(const til_fb_ops_t *ops, const char *title, const til_setup_t *setup, int n_pages, til_fb_t **res_fb)
{
_til_fb_page_t *page;
til_fb_t *fb;
@@ -509,7 +509,7 @@ int til_fb_new(const til_fb_ops_t *ops, const til_setup_t *setup, int n_pages, t
fb->ops = ops;
if (ops->init) {
- r = ops->init(setup, &fb->ops_context);
+ r = ops->init(title, setup, &fb->ops_context);
if (r < 0)
goto fail;
}
© All Rights Reserved