diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2008-03-25 19:57:23 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2008-03-25 19:57:23 +0000 |
| commit | 1f4bcc86dac8e57aa2fba4e5b3149fbe52ead323 (patch) | |
| tree | a3862957ba38ea22bfd01504c0389d23cb4b09a9 /apps/plugins/lib/grey_parm.c | |
| parent | 386f77b0521433f55811f5735aa7a7df5c422760 (diff) | |
| download | rockbox-1f4bcc86dac8e57aa2fba4e5b3149fbe52ead323.zip rockbox-1f4bcc86dac8e57aa2fba4e5b3149fbe52ead323.tar.gz rockbox-1f4bcc86dac8e57aa2fba4e5b3149fbe52ead323.tar.bz2 rockbox-1f4bcc86dac8e57aa2fba4e5b3149fbe52ead323.tar.xz | |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lib/grey_parm.c b/apps/plugins/lib/grey_parm.c index e4aaec3..63d09df 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) #if LCD_PIXELFORMAT == HORIZONTAL_PACKING _grey_info.bx = (x + 4) >> 3; x = 8 * _grey_info.bx; -#else /* vertical packing or vertical interleaved */ -#if (LCD_DEPTH == 1) || (LCD_PIXELFORMAT == VERTICAL_INTERLEAVED) +#else +#if LCD_DEPTH == 1 _grey_info.by = (y + 4) >> 3; y = 8 * _grey_info.by; #elif LCD_DEPTH == 2 |