Monotone-Parent: dd98907b2d09b3cd66d8a6ef15da440b85e98478
Monotone-Revision: 7be89eb338128de0cf7f68aeb1ed4852cf15bc96 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-12-05T16:42:05
This commit is contained in:
parent
182f442a4d
commit
8c983152ee
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue