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.tar.gz
rockbox-f793653677a54ff4259683e7acafbe24a477fd0e.zip
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 9f538b6591..d8ed4df3b3 100644
--- a/apps/plugins/rockblox.c
+++ b/apps/plugins/rockblox.c
@@ -1252,7 +1252,7 @@ static int rockblox_menu(void)
1252#ifdef HAVE_LCD_BITMAP 1252#ifdef HAVE_LCD_BITMAP
1253 highscore_show(MAX_HIGH_SCORES, highest, MAX_HIGH_SCORES, true); 1253 highscore_show(MAX_HIGH_SCORES, highest, MAX_HIGH_SCORES, true);
1254#else 1254#else
1255 rb->splashf(2*HZ, "High Score: %d", highest[MAX_HIGH_SCORES].score); 1255 rb->splashf(2*HZ, "High Score: %d", highest[0].score);
1256#endif 1256#endif
1257 break; 1257 break;
1258 case 4: 1258 case 4: