summaryrefslogtreecommitdiff
path: root/apps/plugins/text_viewer/tv_action.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/text_viewer/tv_action.c')
-rw-r--r--apps/plugins/text_viewer/tv_action.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/plugins/text_viewer/tv_action.c b/apps/plugins/text_viewer/tv_action.c
index 1e5473b438..54cec38f72 100644
--- a/apps/plugins/text_viewer/tv_action.c
+++ b/apps/plugins/text_viewer/tv_action.c
@@ -174,8 +174,6 @@ unsigned tv_menu(void)
174 if (res == TV_MENU_RESULT_EXIT_MENU) 174 if (res == TV_MENU_RESULT_EXIT_MENU)
175 { 175 {
176 tv_convert_fpos(cur_file_pos, &cur_pos); 176 tv_convert_fpos(cur_file_pos, &cur_pos);
177 if (preferences->vertical_scroll_mode == VS_PAGE)
178 cur_pos.line = 0;
179 177
180 tv_move_screen(cur_pos.page, cur_pos.line, SEEK_SET); 178 tv_move_screen(cur_pos.page, cur_pos.line, SEEK_SET);
181 } 179 }