Sparkle no longer fails to close the "checking for updates" progress window when an appcast fails to load.
This commit is contained in:
Andy Matuschak committed 2008-06-15 17:52:42 -07:00
1 parent 17a5bf2b96
commit c2745f5944
1 file changed
+1 -1
+1 -1
View File
@@ -70,7 +70,7 @@
[statusController setMaxProgressValue:[response expectedContentLength]];
}
- (void)download:(NSURLDownload *)download didReceiveDataOfLength:(unsigned)length
- (void)download:(NSURLDownload *)download didReceiveDataOfLength:(NSUInteger)length
{
[statusController setProgressValue:[statusController progressValue] + length];
[statusController setStatusText:[NSString stringWithFormat:SULocalizedString(@"%@ of %@", nil), [NSNumber humanReadableSizeFromDouble:[statusController progressValue]], [NSNumber humanReadableSizeFromDouble:[statusController maxProgressValue]]]];