diff options
Diffstat (limited to 'apps/plugins/text_viewer/tv_action.c')
-rw-r--r-- | apps/plugins/text_viewer/tv_action.c | 4 |
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) | |||
100 | (mode == TV_VERTICAL_SCROLL_PREFS && preferences->vertical_scroll_mode == VS_PAGE)) | 100 | (mode == TV_VERTICAL_SCROLL_PREFS && preferences->vertical_scroll_mode == VS_PAGE)) |
101 | { | 101 | { |
102 | offset_page--; | 102 | offset_page--; |
103 | #ifdef HAVE_LCD_BITMAP | ||
104 | offset_line = (preferences->overlap_page_mode)? 1:0; | 103 | offset_line = (preferences->overlap_page_mode)? 1:0; |
105 | #endif | ||
106 | } | 104 | } |
107 | tv_move_screen(offset_page, offset_line, SEEK_CUR); | 105 | tv_move_screen(offset_page, offset_line, SEEK_CUR); |
108 | scrolled = true; | 106 | scrolled = true; |
@@ -117,9 +115,7 @@ void tv_scroll_down(unsigned mode) | |||
117 | (mode == TV_VERTICAL_SCROLL_PREFS && preferences->vertical_scroll_mode == VS_PAGE)) | 115 | (mode == TV_VERTICAL_SCROLL_PREFS && preferences->vertical_scroll_mode == VS_PAGE)) |
118 | { | 116 | { |
119 | offset_page++; | 117 | offset_page++; |
120 | #ifdef HAVE_LCD_BITMAP | ||
121 | offset_line = (preferences->overlap_page_mode)? -1:0; | 118 | offset_line = (preferences->overlap_page_mode)? -1:0; |
122 | #endif | ||
123 | } | 119 | } |
124 | tv_move_screen(offset_page, offset_line, SEEK_CUR); | 120 | tv_move_screen(offset_page, offset_line, SEEK_CUR); |
125 | scrolled = true; | 121 | scrolled = true; |