diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-17 10:31:31 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 21:20:13 +0000 |
commit | 658026e6267277b27d297c481728f74d160a8481 (patch) | |
tree | 915a9d2bb48469bdd5b9127dc19a61f230721a6c /apps/plugins/text_viewer/tv_action.c | |
parent | 8cb555460ff79e636a7907fb2589e16db98c8600 (diff) | |
download | rockbox-658026e6267277b27d297c481728f74d160a8481.tar.gz rockbox-658026e6267277b27d297c481728f74d160a8481.zip |
[4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice.
Note: I left behind lcd_bitmap in features.txt, because removing it
would require considerable work in the manual and the translations.
Change-Id: Ia8ca7761f610d9332a0d22a7d189775fb15ec88a
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; |