From 6af8a579c7cb44d313d00f5e395528c49a6c4116 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sun, 25 Sep 2011 20:18:45 +0000 Subject: Fonts/buflib: The lru cache base poitner needs to be updated as well in the move callback. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30603 a1c6a512-1295-4272-9138-f99709370657 --- firmware/font.c | 1 + 1 file changed, 1 insertion(+) (limited to 'firmware/font.c') diff --git a/firmware/font.c b/firmware/font.c index 2fda8483b5..8138c31c4f 100644 --- a/firmware/font.c +++ b/firmware/font.c @@ -103,6 +103,7 @@ static int buflibmove_callback(int handle, void* current, void* new) alloc->font.buffer_position += diff; alloc->font.cache._index += diff; + alloc->font.cache._lr.base += diff; return BUFLIB_CB_OK; } -- cgit v1.2.3