summaryrefslogtreecommitdiffstats
path: root/src/fat_cluster.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-03-31 09:11:18 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-03-31 09:11:18 +0200
commitb95b060ad4c0cb7121e1fee6d090890a1c792020 (patch)
tree2c918733e3f70e59910ac339c249f85f0e952b04 /src/fat_cluster.c
parent83e1947ba89fbd652eddd142032fc27d99ed3d69 (diff)
src/fat_cluster.c: improve readibility
Diffstat (limited to 'src/fat_cluster.c')
-rw-r--r--src/fat_cluster.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fat_cluster.c b/src/fat_cluster.c
index d66a949..fb6b958 100644
--- a/src/fat_cluster.c
+++ b/src/fat_cluster.c
@@ -65,7 +65,9 @@ int find_sectors_per_cluster(disk_t *disk_car, partition_t *partition, const int
(unsigned long)(skip_offset/disk_car->sector_size),
(unsigned long)skip_offset);
}
- for(offset=skip_offset;(offset<partition->part_size)&&!ind_stop&&(nbr_subdir<10);offset+=disk_car->sector_size)
+ for(offset=skip_offset;
+ offset<partition->part_size && !ind_stop && nbr_subdir<10;
+ offset+=disk_car->sector_size)
{
#ifdef HAVE_NCURSES
if(interface>0 && ((offset&(1024*disk_car->sector_size-1))==0))