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/logfdisp.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'apps/logfdisp.c') diff --git a/apps/logfdisp.c b/apps/logfdisp.c index 0c5f63e8dc..b139f30ac7 100644 --- a/apps/logfdisp.c +++ b/apps/logfdisp.c @@ -36,15 +36,14 @@ #include "action.h" #include "splash.h" -#ifdef HAVE_LCD_BITMAP int compute_nb_lines(int w, struct font* font) { int i, nb_lines; int cur_x, delta_x; - + if(logfindex == 0 && !logfwrap) return 0; - + if(logfwrap) i = logfindex; else @@ -209,7 +208,6 @@ bool logfdisplay(void) return false; } -#endif /* HAVE_LCD_BITMAP */ bool logfdump(void) { -- cgit v1.2.3