diff options
| author | Dave Chapman <dave@dchapman.com> | 2006-10-07 10:19:08 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2006-10-07 10:19:08 +0000 |
| commit | 24c337514333460b3738403b264498cad746ccc0 (patch) | |
| tree | ddb73ad9a2cbacbcfbcad10e1eb306032e48fec9 /apps | |
| parent | 39b1cfe3fad4aa5ce4d527b23f4cf9c3d85f6601 (diff) | |
| download | rockbox-24c337514333460b3738403b264498cad746ccc0.zip rockbox-24c337514333460b3738403b264498cad746ccc0.tar.gz rockbox-24c337514333460b3738403b264498cad746ccc0.tar.bz2 rockbox-24c337514333460b3738403b264498cad746ccc0.tar.xz | |
Correctly initialise the screen->bitmap function for mono targets - prevents crashes on those targets when inserting USB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11142 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -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 2bcd237..cac0b86 100644 --- a/apps/screen_access.c +++ b/apps/screen_access.c @@ -131,9 +131,9 @@ void screen_init(struct screen * screen, enum screen_type screen_type) screen->mono_bitmap=&lcd_mono_bitmap; screen->mono_bitmap_part=&lcd_mono_bitmap_part; screen->set_drawmode=&lcd_set_drawmode; -#if LCD_DEPTH > 1 screen->bitmap=&lcd_bitmap; screen->bitmap_part=&lcd_bitmap_part; +#if LCD_DEPTH > 1 #if LCD_DEPTH == 2 /* No transparency yet for grayscale lcd */ screen->transparent_bitmap=&lcd_bitmap; |