1
0
Fork 0
forked from len0rd/rockbox

fix FS#9615 - the set time/date screen was not setting the viewport before using the lcd funcitons

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19397 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2008-12-12 05:12:33 +00:00
parent f2dc7139b9
commit 5b0f683b6f

View file

@ -514,6 +514,7 @@ bool set_time_screen(const char* title, struct tm *tm)
FOR_NB_SCREENS(s)
{
viewport_set_defaults(&vp[s], s);
screens[s].set_viewport(&vp[s]);
nb_lines = viewport_get_nb_lines(&vp[s]);
/* minimum lines needed is 2 + title line */