This commit is contained in:
Douglas Bumby
2015-04-06 23:51:08 -04:00
parent cc714460f9
commit 8be53bee68
+1 -1
View File
@@ -301,7 +301,7 @@
int bytesRead = 0;
while((bytesRead = unzReadCurrentFile(zip, buffer, 4096)) > 0)
{
buffer[bytesRead] = 0;
buffer[bytesRead] = (int)0;
[destinationPath appendString:[NSString stringWithUTF8String:(const char*)buffer]];
}