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:
parent
7eed54904a
commit
db80a915aa
1 changed files with 1 additions and 1 deletions
|
@ -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]];
|
||||
|
||||
|
|
Loading…
Reference in a new issue