1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +00:00

we should use the size of the array that we're actually using

This commit is contained in:
Mitchell Livingston 2009-10-25 21:31:01 +00:00
parent 7eed54904a
commit db80a915aa

View file

@ -331,7 +331,7 @@
if (code == NSOKButton)
{
//create the text to output
NSMutableArray * messageStrings = [NSMutableArray arrayWithCapacity: [fMessages count]];
NSMutableArray * messageStrings = [NSMutableArray arrayWithCapacity: [messages count]];
for (NSDictionary * message in messages)
[messageStrings addObject: [self stringForMessage: message]];