diff options
Diffstat (limited to 'apps/plugins/searchengine')
-rw-r--r-- | apps/plugins/searchengine/searchengine.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/plugins/searchengine/searchengine.h b/apps/plugins/searchengine/searchengine.h index 090adb7051..00bedd816b 100644 --- a/apps/plugins/searchengine/searchengine.h +++ b/apps/plugins/searchengine/searchengine.h | |||
@@ -25,20 +25,12 @@ | |||
25 | #include <autoconf.h> | 25 | #include <autoconf.h> |
26 | 26 | ||
27 | extern int w, h, y; | 27 | extern int w, h, y; |
28 | #ifdef HAVE_LCD_BITMAP | ||
29 | #define PUTS(str) do { \ | 28 | #define PUTS(str) do { \ |
30 | rb->lcd_putsxy(1, y, str); \ | 29 | rb->lcd_putsxy(1, y, str); \ |
31 | rb->lcd_getstringsize(str, &w, &h); \ | 30 | rb->lcd_getstringsize(str, &w, &h); \ |
32 | y += h + 1; \ | 31 | y += h + 1; \ |
33 | } while (0); \ | 32 | } while (0); \ |
34 | rb->lcd_update() | 33 | rb->lcd_update() |
35 | #else | ||
36 | #define PUTS(str) do { \ | ||
37 | rb->lcd_puts(0, y, str); \ | ||
38 | y = (y + 1) % 2; \ | ||
39 | } while (0); \ | ||
40 | rb->lcd_update() | ||
41 | #endif | ||
42 | 34 | ||
43 | void *my_malloc(size_t size); | 35 | void *my_malloc(size_t size); |
44 | void setmallocpos(void *pointer); | 36 | void setmallocpos(void *pointer); |