From c2ba38c43caddad20db954ffe12afe2848537b3e Mon Sep 17 00:00:00 2001
From: Andreas Loibl <andreas@andreas-loibl.de>
Date: Sun, 11 Mar 2012 20:06:09 +0100
Subject: isohybrid-acritox FAT-maxsize calculation fix

---
 isohybrid-acritox | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/isohybrid-acritox b/isohybrid-acritox
index 3b2e817..10fdc1f 100755
--- a/isohybrid-acritox
+++ b/isohybrid-acritox
@@ -105,7 +105,7 @@ $fat_pos = $fat_pos_lba*512;
 $fat_pos_blk = $fat_pos_lba/4;
 
 # Set the maximum size of the FAT partiton
-$fat_maxsize_blk = $csf_pos_blk + $csf_size_blk - $fat_pos_blk;
+$fat_maxsize_blk = $csf_size_blk - $fat_pos_blk;
 $fat_maxsize_blk -= $fat_maxsize_blk % 16;
 
 # Generate the FAT partition
-- 
cgit v1.0