diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-09-25 20:18:45 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-09-25 20:18:45 +0000 |
commit | 6af8a579c7cb44d313d00f5e395528c49a6c4116 (patch) | |
tree | dff2024ec0abe3d4bedba14c80a8600bd1e190ea /firmware/font.c | |
parent | 2546bc59ccac97cc6ce8561761234cd1604b55c7 (diff) |
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
Diffstat (limited to 'firmware/font.c')
-rw-r--r-- | firmware/font.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |