diff options
Diffstat (limited to 'apps/recorder')
-rw-r--r-- | apps/recorder/recording.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index 393bd356b8..d7ab9c795c 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c | |||
@@ -1112,14 +1112,12 @@ bool recording_screen(bool no_source) | |||
1112 | else | 1112 | else |
1113 | compact_view[i] = false; | 1113 | compact_view[i] = false; |
1114 | } | 1114 | } |
1115 | vp_list[i] = *v; /* get a copy now so it can be sized more easily */ | ||
1115 | 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); |
1116 | 1117 | ||
1117 | /* list section, rest of the screen */ | 1118 | /* list section, rest of the screen */ |
1118 | v = &vp_list[i]; | 1119 | vp_list[i].y = vp_top[i].y + vp_top[i].height; |
1119 | viewport_set_defaults(v, i); | 1120 | vp_list[i].height -= vp_list[i].y; |
1120 | v->font = vp_top[i].font; | ||
1121 | v->y = vp_top[i].y + vp_top[i].height; | ||
1122 | v->height = screens[i].lcdheight - v->y; /* the rest */ | ||
1123 | screens[i].set_viewport(&vp_top[i]); /* req for next calls */ | 1121 | screens[i].set_viewport(&vp_top[i]); /* req for next calls */ |
1124 | 1122 | ||
1125 | screens[i].getstringsize("W", &w, &h); | 1123 | screens[i].getstringsize("W", &w, &h); |