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:
parent
f2dc7139b9
commit
5b0f683b6f
1 changed files with 1 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue