mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-11 06:05:21 -05:00
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)
|
FOR_NB_SCREENS(s)
|
||||||
{
|
{
|
||||||
viewport_set_defaults(&vp[s], s);
|
viewport_set_defaults(&vp[s], s);
|
||||||
|
screens[s].set_viewport(&vp[s]);
|
||||||
nb_lines = viewport_get_nb_lines(&vp[s]);
|
nb_lines = viewport_get_nb_lines(&vp[s]);
|
||||||
|
|
||||||
/* minimum lines needed is 2 + title line */
|
/* minimum lines needed is 2 + title line */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue