summaryrefslogtreecommitdiff
path: root/apps
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
parenta450e347701d1558449f0afc446d1e425fbf5fd2 (diff)
downloadrockbox-270fe46f3c0cbcc305466c01c575fb2a29b82537.tar.gz
rockbox-270fe46f3c0cbcc305466c01c575fb2a29b82537.zip
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')
-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)
617 int i, partition_start; 617 int i, partition_start;
618 int sector = 0; 618 int sector = 0;
619 619
620 if (fat_startsector != 0) /* There is a partition table */ 620 if (fat_startsector() != 0) /* There is a partition table */
621 { 621 {
622 sector = 61; 622 sector = 61;
623 for (i = 0; i < 4; i++) 623 for (i = 0; i < 4; i++)