summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2020-10-26 13:41:38 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2020-10-26 14:02:49 -0400
commit9b295ce13577b5e2c2c7c122d1325a02d4569320 (patch)
tree18ef16629c056d13d093d9fd10c9fd302bb8fae4 /firmware
parent40e98a2e4915464b9306ab7b0f6feb173de095c5 (diff)
downloadrockbox-9b295ce13577b5e2c2c7c122d1325a02d4569320.tar.gz
rockbox-9b295ce13577b5e2c2c7c122d1325a02d4569320.tar.bz2
rockbox-9b295ce13577b5e2c2c7c122d1325a02d4569320.zip
FIX RED/YELLOW framebuffer viewport rewrite
Change-Id: Icfd3b00b646c593991f73550d8a316a80e5930a1
Diffstat (limited to 'firmware')
-rw-r--r--firmware/drivers/lcd-bitmap-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-bitmap-common.c b/firmware/drivers/lcd-bitmap-common.c
index 9cd3ba3774..183ab75820 100644
--- a/firmware/drivers/lcd-bitmap-common.c
+++ b/firmware/drivers/lcd-bitmap-common.c
@@ -332,7 +332,7 @@ static void LCDFN(putsxyofs)(int x, int y, int ofs, const unsigned char *str)
static void LCDFN(putsxyofs)(int x, int y, int ofs, const unsigned char *str)
{
unsigned short *ucs;
- struct font* pf = font_get(current_vp->font);
+ struct font* pf = font_get(LCDFN(current_vp)->font);
int vp_flags = current_vp->flags;
const unsigned char *bits;
int width;