summaryrefslogtreecommitdiff
path: root/apps/plugins/chopper.c
diff options
context:
space:
mode:
authorTom Ross <midgey@rockbox.org>2007-02-17 23:06:22 +0000
committerTom Ross <midgey@rockbox.org>2007-02-17 23:06:22 +0000
commit2ad25c88182a1d898b7ba460beba3bd2231be94b (patch)
tree6b6b5ffa2cbf214fe45a5a323cd1427f1387099f /apps/plugins/chopper.c
parentf435db010773623bdcd15b8357c94b60aca4e4e9 (diff)
Kill a few warnings in plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12366 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/chopper.c')
-rw-r--r--apps/plugins/chopper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/chopper.c b/apps/plugins/chopper.c
index 381b54a7e2..d636b2db4e 100644
--- a/apps/plugins/chopper.c
+++ b/apps/plugins/chopper.c
@@ -618,7 +618,7 @@ static int chopMenu(int menunum)
{ "Steep", -1 },
};
-#if HAVE_LCD_COLOR
+#ifdef HAVE_LCD_COLOR
rb->lcd_set_foreground(LCD_WHITE);
rb->lcd_set_background(LCD_BLACK);
#elif LCD_DEPTH == 2
@@ -920,7 +920,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
#if LCD_DEPTH > 1
rb->lcd_set_backdrop(NULL);
#endif
-#if HAVE_LCD_COLOR
+#ifdef HAVE_LCD_COLOR
rb->lcd_set_background(LCD_BLACK);
rb->lcd_set_foreground(LCD_WHITE);
#endif