summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/grey_scroll.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_scroll.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_scroll.c')
-rw-r--r--apps/plugins/lib/grey_scroll.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/plugins/lib/grey_scroll.c b/apps/plugins/lib/grey_scroll.c
index ba790b035f..12a27daf23 100644
--- a/apps/plugins/lib/grey_scroll.c
+++ b/apps/plugins/lib/grey_scroll.c
@@ -191,8 +191,7 @@ void grey_ub_scroll_up(int count)
191 _grey_info.fg_brightness : 191 _grey_info.fg_brightness :
192 _grey_info.bg_brightness]; 192 _grey_info.bg_brightness];
193 193
194#if (LCD_PIXELFORMAT == VERTICAL_PACKING) \ 194#if LCD_PIXELFORMAT == VERTICAL_PACKING
195 || (LCD_PIXELFORMAT == VERTICAL_INTERLEAVED)
196 if (count & _GREY_BMASK) 195 if (count & _GREY_BMASK)
197 { 196 {
198 /* Scrolling by fractional blocks - move pixel wise. */ 197 /* Scrolling by fractional blocks - move pixel wise. */
@@ -263,8 +262,7 @@ void grey_ub_scroll_down(int count)
263 _grey_info.fg_brightness : 262 _grey_info.fg_brightness :
264 _grey_info.bg_brightness]; 263 _grey_info.bg_brightness];
265 264
266#if (LCD_PIXELFORMAT == VERTICAL_PACKING) \ 265#if LCD_PIXELFORMAT == VERTICAL_PACKING
267 || (LCD_PIXELFORMAT == VERTICAL_INTERLEAVED)
268 if (count & _GREY_BMASK) 266 if (count & _GREY_BMASK)
269 { 267 {
270 /* Scrolling by fractional blocks - move pixel wise. */ 268 /* Scrolling by fractional blocks - move pixel wise. */