From d6a397d4d05658097cea097ccf14aba0f17b8549 Mon Sep 17 00:00:00 2001 From: Michael Chicoine Date: Wed, 30 Nov 2011 03:06:41 +0000 Subject: [PATCH] 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 --- apps/plugins/text_viewer/tv_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/plugins/text_viewer/tv_display.c b/apps/plugins/text_viewer/tv_display.c index 2cf240db0e..3376ccc548 100644 --- a/apps/plugins/text_viewer/tv_display.c +++ b/apps/plugins/text_viewer/tv_display.c @@ -277,12 +277,12 @@ void tv_set_layout(bool show_scrollbar) vertical_scrollbar.w = scrollbar_width; vertical_scrollbar.h = footer.y - vertical_scrollbar.y - scrollbar_height; + vp_info.font = preferences->font_id; vp_text = vp_info; vp_text.x += horizontal_scrollbar.x; vp_text.y += vertical_scrollbar.y; vp_text.width = horizontal_scrollbar.w; vp_text.height = vertical_scrollbar.h; - vp_text.font = preferences->font_id; #else (void) show_scrollbar;