Author: rmottola
Date: Mon Nov 9 11:56:56 2015
New Revision: 39164
URL: http://svn.gna.org/viewcvs/gnustep?rev=39164&view=rev
Log:
Allocate a Mutable Array before assagning an Array to a MutableArray
Modified:
apps/projectcenter/trunk/ChangeLog
apps/projectcenter/trunk/Framework/PCProjectInspector.m
Modified: apps/projectcenter/trunk/ChangeLog
URL:
http://svn.gna.org/viewcvs/gnustep/apps/projectcenter/trunk/ChangeLog?rev=39164&r1=39163&r2=39164&view=diff
==============================================================================
--- apps/projectcenter/trunk/ChangeLog (original)
+++ apps/projectcenter/trunk/ChangeLog Mon Nov 9 11:56:56 2015
@@ -1,3 +1,8 @@
+2015-11-09 Riccardo Mottola <[email protected]>
+
+ * Framework/PCProjectInspector.m
+ Allocate a Mutable Array before assagning an Array to a MutableArray
+
2015-11-05 Riccardo Mottola <[email protected]>
* Modules/Projects/Application/PCAppProject+Inspector.h
Modified: apps/projectcenter/trunk/Framework/PCProjectInspector.m
URL:
http://svn.gna.org/viewcvs/gnustep/apps/projectcenter/trunk/Framework/PCProjectInspector.m?rev=39164&r1=39163&r2=39164&view=diff
==============================================================================
--- apps/projectcenter/trunk/Framework/PCProjectInspector.m (original)
+++ apps/projectcenter/trunk/Framework/PCProjectInspector.m Mon Nov 9
11:56:56 2015
@@ -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
{
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs