summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2010-06-07 13:10:38 +0000
committerTeruaki Kawashima <teru@rockbox.org>2010-06-07 13:10:38 +0000
commit5a3f3a1b398703af46f85da014eb79ac3c2a2233 (patch)
tree4cc4df4c34d42d52787dca15bfb2aed5f6032d1b
parentd669d4ab6e3832bbb075bebf0f123c5688ac36c7 (diff)
downloadrockbox-5a3f3a1b398703af46f85da014eb79ac3c2a2233.tar.gz
rockbox-5a3f3a1b398703af46f85da014eb79ac3c2a2233.tar.bz2
rockbox-5a3f3a1b398703af46f85da014eb79ac3c2a2233.zip
fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26660 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/text_viewer/tv_window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/text_viewer/tv_window.c b/apps/plugins/text_viewer/tv_window.c
index 67db879ff6..676aff40ab 100644
--- a/apps/plugins/text_viewer/tv_window.c
+++ b/apps/plugins/text_viewer/tv_window.c
@@ -363,11 +363,13 @@ void tv_finalize_window(void)
{
tv_finalize_text_reader();
+#ifdef HAVE_LCD_BITMAP
/* restore font */
if (rb->strcmp(rb->global_settings->font_file, prefs->font_name))
{
tv_set_font(rb->global_settings->font_file);
}
+#endif
}
void tv_move_window(int window_delta, int column_delta)