summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-10-09 09:46:31 +0000
committerJens Arnold <amiconn@rockbox.org>2004-10-09 09:46:31 +0000
commit270fe46f3c0cbcc305466c01c575fb2a29b82537 (patch)
treefd17e1b16569374546c5ff5d5b2131c00e43e2b0 /apps/settings.c
parenta450e347701d1558449f0afc446d1e425fbf5fd2 (diff)
Fix: Config sector calculation failed on super-floppy formatted media
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5232 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 bd7ce4329e..9f9dce79c4 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -617,7 +617,7 @@ void settings_calc_config_sector(void)
int i, partition_start;
int sector = 0;
- if (fat_startsector != 0) /* There is a partition table */
+ if (fat_startsector() != 0) /* There is a partition table */
{
sector = 61;
for (i = 0; i < 4; i++)