summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-10-08 07:38:44 +0000
committerJens Arnold <amiconn@rockbox.org>2005-10-08 07:38:44 +0000
commit1a4083d8289b12577d83da3e6a310335bc9be014 (patch)
treee51059deb9acf138a01a592161a1955fce3bf288
parent13fcd6828571d55c196560856e0f71c8024c8dc3 (diff)
Adjust menu scrollbar height to the actual text height. Idea taken from patch #1306243 by Stephan Wezel.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7598 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/menu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/menu.c b/apps/menu.c
index ad22047b9d..d1cddcd796 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -156,6 +156,7 @@ void menu_draw(int m)
#endif
menu_lines = height / fh;
+ height = menu_lines * fh;
#else
int menu_lines = MENU_LINES;