summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorAntonius Hellmann <toni@rockbox.org>2009-07-18 16:43:43 +0000
committerAntonius Hellmann <toni@rockbox.org>2009-07-18 16:43:43 +0000
commit974a48004a4ede5e9db9c06d036d9d4f0e15bbc3 (patch)
tree5980fc5087859d18cb4763cd1254603822b6acd2 /apps
parent99f52999968eb56e8fc9cabbf2ab4f65943ce678 (diff)
downloadrockbox-974a48004a4ede5e9db9c06d036d9d4f0e15bbc3.tar.gz
rockbox-974a48004a4ede5e9db9c06d036d9d4f0e15bbc3.zip
correct bottom viewport height calculation in the recording screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21961 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/recorder/recording.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index 0a890d03da..9bcbf8be68 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -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);