From 658026e6267277b27d297c481728f74d160a8481 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 17 Jul 2020 10:31:31 -0400 Subject: [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 --- apps/plugins/text_viewer/tv_action.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'apps/plugins/text_viewer/tv_action.c') 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; -- cgit v1.2.3