summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-02-17 10:54:16 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-02-17 10:54:16 +0000
commit5c156414ca228b9a1d8bc9d2eb629298008ea7c9 (patch)
tree279df88b325726abe29cade491948aec32e651c3 /apps
parent0abbb298b2ce34dff560a7dbc9ed48855da48b8b (diff)
downloadrockbox-5c156414ca228b9a1d8bc9d2eb629298008ea7c9.tar.gz
rockbox-5c156414ca228b9a1d8bc9d2eb629298008ea7c9.tar.bz2
rockbox-5c156414ca228b9a1d8bc9d2eb629298008ea7c9.zip
fix margin problem in "view runtime" and "rockbox info" screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12347 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/menus/main_menu.c3
-rw-r--r--apps/screens.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c
index a1f5fddc93..6cb013012a 100644
--- a/apps/menus/main_menu.c
+++ b/apps/menus/main_menu.c
@@ -158,6 +158,9 @@ static bool show_info(void)
ID2P(LANG_GIGABYTE)
};
+ FOR_NB_SCREENS(i)
+ screens[i].setmargins(0, 0);
+
while (!done)
{
int y=0;
diff --git a/apps/screens.c b/apps/screens.c
index 5c6c961210..8cae837327 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -1317,6 +1317,9 @@ bool view_runtime(void)
unsigned char *lines[]={str(LANG_CLEAR_TIME)};
struct text_message message={(char **)lines, 1};
+ FOR_NB_SCREENS(i)
+ screens[i].setmargins(0, 0);
+
while(!done)
{
int y[NB_SCREENS]={0};