summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2009-12-03 15:00:54 +0000
committerTeruaki Kawashima <teru@rockbox.org>2009-12-03 15:00:54 +0000
commitf793653677a54ff4259683e7acafbe24a477fd0e (patch)
tree107f372290fa4786f6f8c5de925abf8143e5713f /apps/plugins
parent1ac3b4b60575ad6026b3963d59a12a475ae54ebf (diff)
downloadrockbox-f793653677a54ff4259683e7acafbe24a477fd0e.zip
rockbox-f793653677a54ff4259683e7acafbe24a477fd0e.tar.gz
rockbox-f793653677a54ff4259683e7acafbe24a477fd0e.tar.bz2
rockbox-f793653677a54ff4259683e7acafbe24a477fd0e.tar.xz
rockblox: Correct wrong access to array of highscores.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23828 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/rockblox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/rockblox.c b/apps/plugins/rockblox.c
index 9f538b6..d8ed4df 100644
--- a/apps/plugins/rockblox.c
+++ b/apps/plugins/rockblox.c
@@ -1252,7 +1252,7 @@ static int rockblox_menu(void)
#ifdef HAVE_LCD_BITMAP
highscore_show(MAX_HIGH_SCORES, highest, MAX_HIGH_SCORES, true);
#else
- rb->splashf(2*HZ, "High Score: %d", highest[MAX_HIGH_SCORES].score);
+ rb->splashf(2*HZ, "High Score: %d", highest[0].score);
#endif
break;
case 4: