summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-04-14 06:04:38 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-04-14 06:04:38 +0000
commit49ea16e2eb89d856c080b2570edcac67639802a5 (patch)
treedb2caaceed82ec254ec3607ec2583ba86902f9e6 /apps
parent188c23aa21bae8dc603bd1c77c8f33ef300761ae (diff)
downloadrockbox-49ea16e2eb89d856c080b2570edcac67639802a5.tar.gz
rockbox-49ea16e2eb89d856c080b2570edcac67639802a5.tar.bz2
rockbox-49ea16e2eb89d856c080b2570edcac67639802a5.zip
Fixed the bug that caused the menu cursor to start at the first line every time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4500 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/menu.c b/apps/menu.c
index 147d4b2aee..ca27196cd9 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -289,7 +289,7 @@ int menu_show(int m)
#endif
/* Put the cursor on the first line and draw the menu */
- put_cursor(m, 0);
+ put_cursor(m, menus[m].cursor);
while (!exit) {
key = button_get_w_tmo(HZ/2);