diff options
Diffstat (limited to 'apps/plugins/search.c')
-rw-r--r-- | apps/plugins/search.c | 4 |
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 | } |