See Changelog

Monotone-Parent: f98db9e0d0c41fc50f243d8f21ff421712d14518
Monotone-Revision: 54b01b70fe55f24f29ed00a93826637acb076c5f

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2010-11-08T18:25:18
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Francis Lachapelle 2010-11-08 18:25:18 +00:00
parent 3dbf39d548
commit 2646e93e5f
2 changed files with 14 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2010-11-08 Francis Lachapelle <flachapelle@inverse.ca>
* NSString+NGCards.m (-vCardSubvaluesWithSeparator:): now returns
an empty array when the string is empty, instead of an array with
an empty string.
2010-10-28 Francis Lachapelle <flachapelle@inverse.ca>
* iCalRecurrenceRule.m (-isInfinite): a repeat count set to 0 is

View File

@ -322,11 +322,14 @@ static NSString *commaSeparator = nil;
}
}
substring = [[NSString alloc] initWithCharactersNoCopy: substringBuffer
length: substringLength
freeWhenDone: YES];
[components addObject: substring];
[substring release];
if (substringLength > 0)
{
substring = [[NSString alloc] initWithCharactersNoCopy: substringBuffer
length: substringLength
freeWhenDone: YES];
[components addObject: substring];
[substring release];
}
NSZoneFree (NULL, stringBuffer);