From daa8341a13ddc93981d2c2178b183a13b5e08950 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 4 May 2008 10:58:05 +0000 Subject: a bit of code cleanup.. use a single function to get the statusbar height (or lack of if its enabled), and remove some gui_textarea stuff which could be done using the splash. (gui_textarea is on the way out) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17350 a1c6a512-1295-4272-9138-f99709370657 --- apps/menus/recording_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/menus/recording_menu.c') diff --git a/apps/menus/recording_menu.c b/apps/menus/recording_menu.c index 887d89a4c3..8a26be03e9 100644 --- a/apps/menus/recording_menu.c +++ b/apps/menus/recording_menu.c @@ -487,7 +487,7 @@ bool rectrigger(void) int offset[NB_SCREENS]; int option_lines[NB_SCREENS]; int w, h, i; - int stat_height = global_settings.statusbar ? STATUSBAR_HEIGHT : 0; + int stat_height = gui_statusbar_height(); int pm_y[NB_SCREENS]; int trig_xpos[NB_SCREENS]; -- cgit v1.2.3