summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-09-02 08:14:52 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-09-02 08:14:52 +0000
commit8aa6180e92d32350cc129122061764b95555b4a7 (patch)
tree1a1f44e91acdd82ac11c3659dabf081d6d78bf7c /apps
parent3686228f9d620b108ca272767a3b2fe4db5ec289 (diff)
downloadrockbox-8aa6180e92d32350cc129122061764b95555b4a7.zip
rockbox-8aa6180e92d32350cc129122061764b95555b4a7.tar.gz
rockbox-8aa6180e92d32350cc129122061764b95555b4a7.tar.bz2
rockbox-8aa6180e92d32350cc129122061764b95555b4a7.tar.xz
Fixed the errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10854 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/debug_menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index cfa15c2..60f405a 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -157,12 +157,12 @@ bool dbg_os(void)
case ACTION_SETTINGS_DEC:
currval--;
if(currval < 0)
- currval = num_threads[CPU]-1;
+ currval = cores[CPU].num_threads-1;
break;
case ACTION_SETTINGS_INC:
currval++;
- if(currval > num_threads[CPU]-1)
+ if(currval > cores[CPU].num_threads-1)
currval = 0;
break;
}