From 28859c52d5bc3e47e7944700fcb80bb67f0ac81a Mon Sep 17 00:00:00 2001 From: Felix Arends Date: Wed, 26 Jun 2002 11:39:27 +0000 Subject: fixed lcd_bitmap git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1193 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/lcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/drivers/lcd.c') diff --git a/firmware/drivers/lcd.c b/firmware/drivers/lcd.c index a228a6501b..6ac9adcd8e 100644 --- a/firmware/drivers/lcd.c +++ b/firmware/drivers/lcd.c @@ -655,7 +655,7 @@ void lcd_bitmap (unsigned char *src, int x, int y, int nx, int ny, if (((unsigned)(y + ny)) >= LCD_HEIGHT) ny = LCD_HEIGHT - y; - shift = y & 2; + shift = y & 7; dst2 = &display[x][y/8]; ny += shift; -- cgit v1.2.3