Monotone-Parent: dd98907b2d09b3cd66d8a6ef15da440b85e98478

Monotone-Revision: 7be89eb338128de0cf7f68aeb1ed4852cf15bc96

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-12-05T16:42:05
This commit is contained in:
Wolfgang Sourdeau 2011-12-05 16:42:05 +00:00
parent 182f442a4d
commit 8c983152ee

View file

@ -998,7 +998,13 @@ iRANGE(2);
- (void) setCategory: (NSString *) newCategory
{
ASSIGN (categories, [NSArray arrayWithObject: newCategory]);
if (newCategory)
ASSIGN (categories, [NSArray arrayWithObject: newCategory]);
else
{
[categories release];
categories = nil;
}
}
- (NSString *) category