diff options
author | H. Peter Anvin <hpa@zytor.com> | 2006-05-03 17:21:14 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2006-05-03 17:21:14 -0700 |
commit | f8c463722022008c8412a69f90576d2bf38818ed (patch) | |
tree | cb81cefc0f146741ca837344b1b493e1397f709f /libfat/searchdir.c | |
parent | 09806eda585a00fb24e4b1e8aea0154ee5dc1502 (diff) | |
download | syslinux-f8c463722022008c8412a69f90576d2bf38818ed.tar.gz |
libfat: stealth whitespace cleanup
Diffstat (limited to 'libfat/searchdir.c')
-rw-r--r-- | libfat/searchdir.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libfat/searchdir.c b/libfat/searchdir.c index 8b652682..26953f26 100644 --- a/libfat/searchdir.c +++ b/libfat/searchdir.c @@ -1,6 +1,6 @@ #ident "$Id$" /* ----------------------------------------------------------------------- * - * + * * Copyright 2004 H. Peter Anvin - All Rights Reserved * * This program is free software; you can redistribute it and/or modify @@ -34,7 +34,7 @@ int32_t libfat_searchdir(struct libfat_filesystem *fs, int32_t dirclust, return -2; /* Not found */ else if ( s == (libfat_sector_t)-1 ) return -1; /* Error */ - + dep = libfat_get_sector(fs, s); if ( !dep ) return -1; /* Read error */ @@ -52,12 +52,12 @@ int32_t libfat_searchdir(struct libfat_filesystem *fs, int32_t dirclust, else return read16(&dep->clustlo) + (read16(&dep->clusthi) << 16); } - + if ( dep->name[0] == 0 ) return -2; /* Hit high water mark */ dep++; - } + } s = libfat_nextsector(fs, s); } |