Text viewer plugin: Fix info viewport font not being set to user selected font

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31096 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Chicoine 2011-11-30 03:06:41 +00:00
parent bdaac8ba04
commit d6a397d4d0

View file

@ -277,12 +277,12 @@ void tv_set_layout(bool show_scrollbar)
vertical_scrollbar.w = scrollbar_width; vertical_scrollbar.w = scrollbar_width;
vertical_scrollbar.h = footer.y - vertical_scrollbar.y - scrollbar_height; vertical_scrollbar.h = footer.y - vertical_scrollbar.y - scrollbar_height;
vp_info.font = preferences->font_id;
vp_text = vp_info; vp_text = vp_info;
vp_text.x += horizontal_scrollbar.x; vp_text.x += horizontal_scrollbar.x;
vp_text.y += vertical_scrollbar.y; vp_text.y += vertical_scrollbar.y;
vp_text.width = horizontal_scrollbar.w; vp_text.width = horizontal_scrollbar.w;
vp_text.height = vertical_scrollbar.h; vp_text.height = vertical_scrollbar.h;
vp_text.font = preferences->font_id;
#else #else
(void) show_scrollbar; (void) show_scrollbar;