summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-12-28 22:26:41 +0000
committerJens Arnold <amiconn@rockbox.org>2008-12-28 22:26:41 +0000
commit36dfdedf3becfb3e81e2e549fc32feb1c8748c73 (patch)
tree44ca04bf73dc6d2111cb18ba532dfaeb0651c7a9
parent9ad94b9c35a821265ae3d9db22abec9716e786fc (diff)
downloadrockbox-36dfdedf3becfb3e81e2e549fc32feb1c8748c73.tar.gz
rockbox-36dfdedf3becfb3e81e2e549fc32feb1c8748c73.zip
Make sure pictureflow always uses the user font, both on colour and greyscale targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19610 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/pictureflow.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/pictureflow.c b/apps/plugins/pictureflow.c
index 258e1faaec..83ab1ddef0 100644
--- a/apps/plugins/pictureflow.c
+++ b/apps/plugins/pictureflow.c
@@ -1896,6 +1896,8 @@ void draw_album_text(void)
1896int main(void) 1896int main(void)
1897{ 1897{
1898 int ret; 1898 int ret;
1899
1900 rb->lcd_setfont(FONT_UI);
1899 draw_splashscreen(); 1901 draw_splashscreen();
1900 1902
1901 if ( ! rb->dir_exists( CACHE_PREFIX ) ) { 1903 if ( ! rb->dir_exists( CACHE_PREFIX ) ) {
@@ -1951,6 +1953,7 @@ int main(void)
1951 if (!grey_init(rb, plugin_buf, plugin_buf_size, GREY_BUFFERED|GREY_ON_COP, 1953 if (!grey_init(rb, plugin_buf, plugin_buf_size, GREY_BUFFERED|GREY_ON_COP,
1952 LCD_WIDTH, LCD_HEIGHT, NULL)) 1954 LCD_WIDTH, LCD_HEIGHT, NULL))
1953 rb->splash(HZ, "Greylib init failed!"); 1955 rb->splash(HZ, "Greylib init failed!");
1956 grey_setfont(FONT_UI);
1954#endif 1957#endif
1955 buffer = LCD_BUF; 1958 buffer = LCD_BUF;
1956 1959