diff options
author | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-04-24 21:00:45 +0000 |
---|---|---|
committer | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-04-24 21:00:45 +0000 |
commit | 4ddc764a7c1738fc39da8b95c560d07940e8de9a (patch) | |
tree | ab714358ee1e0f859d71e5b97f107fcdc53f2dbd /apps/screen_access.c | |
parent | ab707b836209dd799176579c06196962f320351e (diff) | |
download | rockbox-4ddc764a7c1738fc39da8b95c560d07940e8de9a.tar.gz rockbox-4ddc764a7c1738fc39da8b95c560d07940e8de9a.zip |
Small fix to prevent crashing when attempting to use non-mono bitmaps in a RWPS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13256 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screen_access.c')
-rw-r--r-- | apps/screen_access.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c index a642b65d20..a33f14b9c2 100644 --- a/apps/screen_access.c +++ b/apps/screen_access.c @@ -55,7 +55,7 @@ void screen_init(struct screen * screen, enum screen_type screen_type) screen->bitmap=(screen_bitmap_func*)&lcd_remote_bitmap; screen->bitmap_part=(screen_bitmap_part_func*)&lcd_remote_bitmap_part; screen->set_drawmode=&lcd_remote_set_drawmode; -#if LCD_DEPTH <= 2 +#if LCD_REMOTE_DEPTH <= 2 /* No transparency yet for grayscale and mono lcd */ screen->transparent_bitmap=(screen_bitmap_func*)&lcd_remote_bitmap; screen->transparent_bitmap_part=(screen_bitmap_part_func*)&lcd_remote_bitmap_part; |