diff options
author | Tom Ross <midgey@rockbox.org> | 2007-02-17 23:06:22 +0000 |
---|---|---|
committer | Tom Ross <midgey@rockbox.org> | 2007-02-17 23:06:22 +0000 |
commit | 2ad25c88182a1d898b7ba460beba3bd2231be94b (patch) | |
tree | 6b6b5ffa2cbf214fe45a5a323cd1427f1387099f /apps/plugins/chopper.c | |
parent | f435db010773623bdcd15b8357c94b60aca4e4e9 (diff) | |
download | rockbox-2ad25c88182a1d898b7ba460beba3bd2231be94b.tar.gz rockbox-2ad25c88182a1d898b7ba460beba3bd2231be94b.zip |
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.c | 4 |
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) | |||
618 | { "Steep", -1 }, | 618 | { "Steep", -1 }, |
619 | }; | 619 | }; |
620 | 620 | ||
621 | #if HAVE_LCD_COLOR | 621 | #ifdef HAVE_LCD_COLOR |
622 | rb->lcd_set_foreground(LCD_WHITE); | 622 | rb->lcd_set_foreground(LCD_WHITE); |
623 | rb->lcd_set_background(LCD_BLACK); | 623 | rb->lcd_set_background(LCD_BLACK); |
624 | #elif LCD_DEPTH == 2 | 624 | #elif LCD_DEPTH == 2 |
@@ -920,7 +920,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
920 | #if LCD_DEPTH > 1 | 920 | #if LCD_DEPTH > 1 |
921 | rb->lcd_set_backdrop(NULL); | 921 | rb->lcd_set_backdrop(NULL); |
922 | #endif | 922 | #endif |
923 | #if HAVE_LCD_COLOR | 923 | #ifdef HAVE_LCD_COLOR |
924 | rb->lcd_set_background(LCD_BLACK); | 924 | rb->lcd_set_background(LCD_BLACK); |
925 | rb->lcd_set_foreground(LCD_WHITE); | 925 | rb->lcd_set_foreground(LCD_WHITE); |
926 | #endif | 926 | #endif |