summaryrefslogtreecommitdiff
path: root/apps/plugins/search.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/plugins/search.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/plugins/search.c')
-rw-r--r--apps/plugins/search.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/plugins/search.c b/apps/plugins/search.c
index ff7be343f6..f27d2045b1 100644
--- a/apps/plugins/search.c
+++ b/apps/plugins/search.c
@@ -125,11 +125,7 @@ static bool search_init(const char* file){
125 fdw = rb->open(resultfile, O_WRONLY|O_CREAT|O_TRUNC, 0666); 125 fdw = rb->open(resultfile, O_WRONLY|O_CREAT|O_TRUNC, 0666);
126 126
127 if (fdw < 0) { 127 if (fdw < 0) {
128#ifdef HAVE_LCD_BITMAP
129 rb->splash(HZ, "Failed to create result file!"); 128 rb->splash(HZ, "Failed to create result file!");
130#else
131 rb->splash(HZ, "File creation failed");
132#endif
133 rb->close(fd); 129 rb->close(fd);
134 return false; 130 return false;
135 } 131 }