diff options
author | Antonius Hellmann <toni@rockbox.org> | 2009-07-18 16:43:43 +0000 |
---|---|---|
committer | Antonius Hellmann <toni@rockbox.org> | 2009-07-18 16:43:43 +0000 |
commit | 974a48004a4ede5e9db9c06d036d9d4f0e15bbc3 (patch) | |
tree | 5980fc5087859d18cb4763cd1254603822b6acd2 /apps/recorder/recording.c | |
parent | 99f52999968eb56e8fc9cabbf2ab4f65943ce678 (diff) | |
download | rockbox-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/recorder/recording.c')
-rw-r--r-- | apps/recorder/recording.c | 4 |
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) | |||
1116 | v->height = (font_get(v->font)->height)*(compact_view[i] ? 3 : 4); | 1116 | v->height = (font_get(v->font)->height)*(compact_view[i] ? 3 : 4); |
1117 | 1117 | ||
1118 | /* list section, rest of the screen */ | 1118 | /* list section, rest of the screen */ |
1119 | vp_list[i].y = vp_top[i].y + vp_top[i].height; | 1119 | vp_list[i].y += vp_top[i].height; |
1120 | vp_list[i].height -= vp_list[i].y; | 1120 | vp_list[i].height -= vp_top[i].height; |
1121 | screens[i].set_viewport(&vp_top[i]); /* req for next calls */ | 1121 | screens[i].set_viewport(&vp_top[i]); /* req for next calls */ |
1122 | 1122 | ||
1123 | screens[i].getstringsize("W", &w, &h); | 1123 | screens[i].getstringsize("W", &w, &h); |