summaryrefslogtreecommitdiff
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.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 @@
36#include "action.h" 36#include "action.h"
37#include "splash.h" 37#include "splash.h"
38 38
39#ifdef HAVE_LCD_BITMAP
40int compute_nb_lines(int w, struct font* font) 39int compute_nb_lines(int w, struct font* font)
41{ 40{
42 int i, nb_lines; 41 int i, nb_lines;
43 int cur_x, delta_x; 42 int cur_x, delta_x;
44 43
45 if(logfindex == 0 && !logfwrap) 44 if(logfindex == 0 && !logfwrap)
46 return 0; 45 return 0;
47 46
48 if(logfwrap) 47 if(logfwrap)
49 i = logfindex; 48 i = logfindex;
50 else 49 else
@@ -209,7 +208,6 @@ bool logfdisplay(void)
209 208
210 return false; 209 return false;
211} 210}
212#endif /* HAVE_LCD_BITMAP */
213 211
214bool logfdump(void) 212bool logfdump(void)
215{ 213{