summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorUwe Freese <thebreaker@rockbox.org>2002-12-15 19:09:34 +0000
committerUwe Freese <thebreaker@rockbox.org>2002-12-15 19:09:34 +0000
commitbf93c088b42ea8c8966be3e034188191528fe71f (patch)
tree05947bc4de74a00aa6e5f4e63ee02cc4720123a4 /apps
parentf34de9d5927c2b83c159958094747014671219f9 (diff)
downloadrockbox-bf93c088b42ea8c8966be3e034188191528fe71f.tar.gz
rockbox-bf93c088b42ea8c8966be3e034188191528fe71f.zip
sim build error fixed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3004 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/settings_menu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c
index c33b26b07d..fbc1ad162a 100644
--- a/apps/settings_menu.c
+++ b/apps/settings_menu.c
@@ -443,7 +443,9 @@ static bool battery_capacity(void) {
443 retval = set_option( str(LANG_BATTERY_CAPACITY), 443 retval = set_option( str(LANG_BATTERY_CAPACITY),
444 &global_settings.battery_capacity, names, 8, NULL); 444 &global_settings.battery_capacity, names, 8, NULL);
445 445
446#ifndef SIMULATOR
446 set_battery_capacity(global_settings.battery_capacity); 447 set_battery_capacity(global_settings.battery_capacity);
448#endif /* SIMULATOR */
447 449
448 return retval; 450 return retval;
449} 451}