Hop, a logical error

This commit is contained in:
Fridrich Štrba 2012-03-23 14:03:25 +01:00
parent a565276f66
commit a7c11707cf

View File

@ -441,7 +441,7 @@ NSData *getUncompressedData(NSFileHandle *file, NSString *name)
{
NSFileHandle* unzipFile = nil;
if ([pathToFile length] == 0)
if ([pathToFile length] != 0)
{
unzipFile = [NSFileHandle fileHandleForReadingAtPath: pathToFile];
}