summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2008-01-09 02:09:19 +0000
committerDave Chapman <dave@dchapman.com>2008-01-09 02:09:19 +0000
commitf59a327f674c36487ed04e6cf36369a622da7f40 (patch)
treef65644cd2016cd99062102b1d5ddf813578c5ca8 /firmware
parent659fe5a35bad0483f67f52ba032b02de98d49407 (diff)
downloadrockbox-f59a327f674c36487ed04e6cf36369a622da7f40.tar.gz
rockbox-f59a327f674c36487ed04e6cf36369a622da7f40.zip
Fix a typo in commit r16018 - this was causing text to disappear on the h140...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16029 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/drivers/lcd-2bit-vert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-2bit-vert.c b/firmware/drivers/lcd-2bit-vert.c
index cb532b7aaf..5373bb9f0a 100644
--- a/firmware/drivers/lcd-2bit-vert.c
+++ b/firmware/drivers/lcd-2bit-vert.c
@@ -128,7 +128,7 @@ unsigned lcd_get_foreground(void)
void lcd_set_background(unsigned brightness)
{
- current_vp->fg_pattern = brightness;
+ current_vp->bg_pattern = brightness;
bg_pattern = 0x55 * (~brightness & 3);
}