summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-08-13 17:20:25 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-08-13 17:20:25 +0000
commitfe604c5c63c7bff73a1deedc126d20fc969e7aad (patch)
treef4db6d04c8053741bd2e5db6c7f13b1b96109a8c /apps/settings.c
parentcd7691de2261e84d3ee72ec3d585ab66680d04e2 (diff)
Fixed typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1718 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 7ca5715674..226ffdc909 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -297,7 +297,7 @@ void settings_load(void)
if (rtc_config_block[0xa] != 0xFF) {
global_settings.contrast = rtc_config_block[0xa];
if ( global_settings.contrast < MIN_CONTRAST_SETTING )
- global_settings.contrast < DEFAULT_CONTRAST_SETTING;
+ global_settings.contrast = DEFAULT_CONTRAST_SETTING;
}
if (rtc_config_block[0xb] != 0xFF)
global_settings.backlight = rtc_config_block[0xb];