mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-14 19:31:22 +00:00
Monotone-Parent: dd98907b2d09b3cd66d8a6ef15da440b85e98478
Monotone-Revision: 7be89eb338128de0cf7f68aeb1ed4852cf15bc96 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-12-05T16:42:05
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user