remove an unused method; trivial type changes

This commit is contained in:
Mitchell Livingston
2008-09-07 17:57:58 +00:00
parent 5b2f63e781
commit d4baaede82
5 changed files with 5 additions and 12 deletions

View File

@@ -155,7 +155,7 @@
if (multifile)
{
NSString * fileString;
int count = fInfo->fileCount;
NSInteger count = fInfo->fileCount;
if (count != 1)
fileString = [NSString stringWithFormat: NSLocalizedString(@"%d files", "Create torrent -> info"), count];
else
@@ -487,12 +487,12 @@
NSWindow * window = [self window];
NSRect windowRect = [window frame];
float difference = [fProgressView frame].size.height - [[window contentView] frame].size.height;
CGFloat difference = [fProgressView frame].size.height - [[window contentView] frame].size.height;
windowRect.origin.y -= difference;
windowRect.size.height += difference;
//don't allow vertical resizing
float height = windowRect.size.height;
CGFloat height = windowRect.size.height;
[window setMinSize: NSMakeSize([window minSize].width, height)];
[window setMaxSize: NSMakeSize([window maxSize].width, height)];