diff options
Diffstat (limited to 'apps/plugins/text_viewer/tv_pager.c')
-rw-r--r-- | apps/plugins/text_viewer/tv_pager.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/text_viewer/tv_pager.c b/apps/plugins/text_viewer/tv_pager.c index e7016c7fef..a91d9d91ab 100644 --- a/apps/plugins/text_viewer/tv_pager.c +++ b/apps/plugins/text_viewer/tv_pager.c | |||
@@ -73,7 +73,7 @@ static off_t tv_get_fpos(int page) | |||
73 | return 0; | 73 | return 0; |
74 | } | 74 | } |
75 | 75 | ||
76 | static void tv_change_preferences(const struct tv_preferences *oldp) | 76 | static int tv_change_preferences(const struct tv_preferences *oldp) |
77 | { | 77 | { |
78 | (void)oldp; | 78 | (void)oldp; |
79 | 79 | ||
@@ -83,6 +83,7 @@ static void tv_change_preferences(const struct tv_preferences *oldp) | |||
83 | max_page = TV_MAX_PAGE - 1; | 83 | max_page = TV_MAX_PAGE - 1; |
84 | tv_set_fpos(cur_pos.page, 0); | 84 | tv_set_fpos(cur_pos.page, 0); |
85 | tv_seek(0, SEEK_SET); | 85 | tv_seek(0, SEEK_SET); |
86 | return TV_CALLBACK_OK; | ||
86 | } | 87 | } |
87 | 88 | ||
88 | bool tv_init_pager(unsigned char **buf, size_t *size) | 89 | bool tv_init_pager(unsigned char **buf, size_t *size) |