summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/grey_parm.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-03-25 19:57:23 +0000
committerJens Arnold <amiconn@rockbox.org>2008-03-25 19:57:23 +0000
commit1f4bcc86dac8e57aa2fba4e5b3149fbe52ead323 (patch)
treea3862957ba38ea22bfd01504c0389d23cb4b09a9 /apps/plugins/lib/grey_parm.c
parent386f77b0521433f55811f5735aa7a7df5c422760 (diff)
downloadrockbox-1f4bcc86dac8e57aa2fba4e5b3149fbe52ead323.tar.gz
rockbox-1f4bcc86dac8e57aa2fba4e5b3149fbe52ead323.zip
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
Diffstat (limited to 'apps/plugins/lib/grey_parm.c')
-rw-r--r--apps/plugins/lib/grey_parm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lib/grey_parm.c b/apps/plugins/lib/grey_parm.c
index e4aaec3efd..63d09dfd72 100644
--- a/apps/plugins/lib/grey_parm.c
+++ b/apps/plugins/lib/grey_parm.c
@@ -34,8 +34,8 @@ void grey_set_position(int x, int y)
34#if LCD_PIXELFORMAT == HORIZONTAL_PACKING 34#if LCD_PIXELFORMAT == HORIZONTAL_PACKING
35 _grey_info.bx = (x + 4) >> 3; 35 _grey_info.bx = (x + 4) >> 3;
36 x = 8 * _grey_info.bx; 36 x = 8 * _grey_info.bx;
37#else /* vertical packing or vertical interleaved */ 37#else
38#if (LCD_DEPTH == 1) || (LCD_PIXELFORMAT == VERTICAL_INTERLEAVED) 38#if LCD_DEPTH == 1
39 _grey_info.by = (y + 4) >> 3; 39 _grey_info.by = (y + 4) >> 3;
40 y = 8 * _grey_info.by; 40 y = 8 * _grey_info.by;
41#elif LCD_DEPTH == 2 41#elif LCD_DEPTH == 2