mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-14 06:31:31 +00:00
Allocate a Mutable Array before assagning an Array to a MutableArray
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39164 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
da18e28fbf
commit
dcacd40e33
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2015-11-09 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Framework/PCProjectInspector.m
|
||||
Allocate a Mutable Array before assagning an Array to a MutableArray
|
||||
|
||||
2015-11-05 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Modules/Projects/Application/PCAppProject+Inspector.h
|
||||
|
|
|
@ -417,15 +417,15 @@
|
|||
|
||||
if ([selectedTitle isEqualToString:@"Header Directories Search Order"])
|
||||
{
|
||||
ASSIGN(searchItems, searchHeaders);
|
||||
ASSIGN(searchItems, [NSMutableArray arrayWithArray:searchHeaders]);
|
||||
}
|
||||
else if ([selectedTitle isEqualToString:@"Library Directories Search Order"])
|
||||
{
|
||||
ASSIGN(searchItems, searchLibs);
|
||||
ASSIGN(searchItems, [NSMutableArray arrayWithArray:searchLibs]);
|
||||
}
|
||||
else if ([selectedTitle isEqualToString:@"Build Targets"])
|
||||
{
|
||||
ASSIGN(searchItems,[project buildTargets]);
|
||||
ASSIGN(searchItems,[NSMutableArray arrayWithArray:[project buildTargets]]);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue