correct bottom viewport height calculation in the recording screen

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21961 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Antonius Hellmann 2009-07-18 16:43:43 +00:00
parent 99f5299996
commit 974a48004a

View file

@ -1116,8 +1116,8 @@ bool recording_screen(bool no_source)
v->height = (font_get(v->font)->height)*(compact_view[i] ? 3 : 4);
/* list section, rest of the screen */
vp_list[i].y = vp_top[i].y + vp_top[i].height;
vp_list[i].height -= vp_list[i].y;
vp_list[i].y += vp_top[i].height;
vp_list[i].height -= vp_top[i].height;
screens[i].set_viewport(&vp_top[i]); /* req for next calls */
screens[i].getstringsize("W", &w, &h);