From 1f4bcc86dac8e57aa2fba4e5b3149fbe52ead323 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Tue, 25 Mar 2008 19:57:23 +0000 Subject: Revert accidental tree commit. /me needs a smaller enter key... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16805 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/lib/grey_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/lib/grey_draw.c') diff --git a/apps/plugins/lib/grey_draw.c b/apps/plugins/lib/grey_draw.c index a1b99fc..7b24ba4 100644 --- a/apps/plugins/lib/grey_draw.c +++ b/apps/plugins/lib/grey_draw.c @@ -630,7 +630,7 @@ void grey_ub_gray_bitmap_part(const unsigned char *src, int src_x, int src_y, { #if LCD_PIXELFORMAT == HORIZONTAL_PACKING int idx = _GREY_MULUQ(_grey_info.width, yc); -#else /* vertical packing or vertical interleaved */ +#else int idx = _GREY_MULUQ(_grey_info.width, yc & ~_GREY_BMASK) + (~yc & _GREY_BMASK); #endif /* LCD_PIXELFORMAT */ -- cgit v1.1