diff -r 4feced261c68 -r de822cd3df3a misc/libphysfs/archiver_zip.c --- a/misc/libphysfs/archiver_zip.c Tue Jan 21 22:38:13 2014 +0100 +++ b/misc/libphysfs/archiver_zip.c Tue Jan 21 22:43:06 2014 +0100 @@ -488,7 +488,7 @@ (buf[i + 3] == 0x06) ) { found = 1; /* that's the signature! */ - break; + break; } /* if */ } /* for */ @@ -552,7 +552,7 @@ /* * This will find the ZIPentry associated with a path in platform-independent - * notation. Directories don't have ZIPentries associated with them, but + * notation. Directories don't have ZIPentries associated with them, but * (*isDir) will be set to non-zero if a dir was hit. */ static ZIPentry *zip_find_entry(const ZIPinfo *info, const char *path, @@ -724,7 +724,7 @@ path = (char *) __PHYSFS_smallAlloc(size + 1); BAIL_IF_MACRO(!path, PHYSFS_ERR_OUT_OF_MEMORY, 0); - + if (entry->compression_method == COMPMETH_NONE) rc = __PHYSFS_readAll(io, path, size); @@ -1445,7 +1445,7 @@ rc = -1; else if ('/' > ch) rc = 1; - else + else { if (stop_on_first_find) /* Just checking dir's existance? */ return middle;