diff options
author | Antoine Cellerier <dionoea@videolan.org> | 2007-09-30 21:40:22 +0000 |
---|---|---|
committer | Antoine Cellerier <dionoea@videolan.org> | 2007-09-30 21:40:22 +0000 |
commit | 2445f664502f758f86234498f6a4b7e879f519c7 (patch) | |
tree | 4c5abbc2da8b27461f2958b6c60d91cc11db445d /firmware/drivers/lcd-remote-2bit-vi.c | |
parent | cebfc40f69966141d4a3fa4db31dad7fe9deb452 (diff) |
Fix red due to previous commit, remove some ifdefs. (/me crosses his fingers)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14929 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd-remote-2bit-vi.c')
-rw-r--r-- | firmware/drivers/lcd-remote-2bit-vi.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/firmware/drivers/lcd-remote-2bit-vi.c b/firmware/drivers/lcd-remote-2bit-vi.c index 51189b0fa9..d5757f4dbb 100644 --- a/firmware/drivers/lcd-remote-2bit-vi.c +++ b/firmware/drivers/lcd-remote-2bit-vi.c @@ -1022,9 +1022,8 @@ void lcd_remote_puts_scroll_style_offset(int x, int y, const unsigned char *stri s = &lcd_remote_scroll_info.scroll[y]; s->start_tick = current_tick + lcd_remote_scroll_info.delay; - s->invert = false; + s->style = style; if (style & STYLE_INVERT) { - s->invert = true; lcd_remote_puts_style_offset(x,y,string,STYLE_INVERT,offset); } else @@ -1120,7 +1119,7 @@ void lcd_remote_scroll_fn(void) } lastmode = drawmode; - drawmode = s->invert ? + drawmode = (s->style&STYLE_INVERT) ? (DRMODE_SOLID|DRMODE_INVERSEVID) : DRMODE_SOLID; lcd_remote_putsxyofs(xpos, ypos, s->offset, s->line); drawmode = lastmode; |