diff options
Diffstat (limited to 'apps/plugins/text_viewer/tv_window.c')
-rw-r--r-- | apps/plugins/text_viewer/tv_window.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/text_viewer/tv_window.c b/apps/plugins/text_viewer/tv_window.c index 9e35b49c6d..05214fab13 100644 --- a/apps/plugins/text_viewer/tv_window.c +++ b/apps/plugins/text_viewer/tv_window.c | |||
@@ -102,7 +102,7 @@ bool tv_traverse_lines(void) | |||
102 | return res; | 102 | return res; |
103 | } | 103 | } |
104 | 104 | ||
105 | static void tv_change_preferences(const struct tv_preferences *oldp) | 105 | static int tv_change_preferences(const struct tv_preferences *oldp) |
106 | { | 106 | { |
107 | bool need_vertical_scrollbar = false; | 107 | bool need_vertical_scrollbar = false; |
108 | 108 | ||
@@ -131,6 +131,7 @@ static void tv_change_preferences(const struct tv_preferences *oldp) | |||
131 | cur_column = 0; | 131 | cur_column = 0; |
132 | 132 | ||
133 | tv_set_read_conditions(preferences->windows, window_width); | 133 | tv_set_read_conditions(preferences->windows, window_width); |
134 | return TV_CALLBACK_OK; | ||
134 | } | 135 | } |
135 | 136 | ||
136 | bool tv_init_window(unsigned char **buf, size_t *size) | 137 | bool tv_init_window(unsigned char **buf, size_t *size) |