From 974a48004a4ede5e9db9c06d036d9d4f0e15bbc3 Mon Sep 17 00:00:00 2001 From: Antonius Hellmann Date: Sat, 18 Jul 2009 16:43:43 +0000 Subject: correct bottom viewport height calculation in the recording screen git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21961 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/recording.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') 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); -- cgit v1.2.3