summaryrefslogtreecommitdiffstats
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.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/plugins/text_viewer/tv_action.c b/apps/plugins/text_viewer/tv_action.c
index 798871c430..041dee5a50 100644
--- a/apps/plugins/text_viewer/tv_action.c
+++ b/apps/plugins/text_viewer/tv_action.c
@@ -100,9 +100,7 @@ void tv_scroll_up(unsigned mode)
(mode == TV_VERTICAL_SCROLL_PREFS && preferences->vertical_scroll_mode == VS_PAGE))
{
offset_page--;
-#ifdef HAVE_LCD_BITMAP
offset_line = (preferences->overlap_page_mode)? 1:0;
-#endif
}
tv_move_screen(offset_page, offset_line, SEEK_CUR);
scrolled = true;
@@ -117,9 +115,7 @@ void tv_scroll_down(unsigned mode)
(mode == TV_VERTICAL_SCROLL_PREFS && preferences->vertical_scroll_mode == VS_PAGE))
{
offset_page++;
-#ifdef HAVE_LCD_BITMAP
offset_line = (preferences->overlap_page_mode)? -1:0;
-#endif
}
tv_move_screen(offset_page, offset_line, SEEK_CUR);
scrolled = true;