summaryrefslogtreecommitdiffstats
path: root/apps/logfdisp.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-17 10:31:31 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 21:20:13 +0000
commit658026e6267277b27d297c481728f74d160a8481 (patch)
tree915a9d2bb48469bdd5b9127dc19a61f230721a6c /apps/logfdisp.c
parent8cb555460ff79e636a7907fb2589e16db98c8600 (diff)
downloadrockbox-658026e6267277b27d297c481728f74d160a8481.tar.gz
rockbox-658026e6267277b27d297c481728f74d160a8481.tar.bz2
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/logfdisp.c')
-rw-r--r--apps/logfdisp.c6
1 files changed, 2 insertions, 4 deletions
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)
{