mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
removed some c99-isms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25877 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
11fd9e5214
commit
15ec85b917
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,6 @@
|
|||
2008-01-05 Riccardo Mottola <riccardo@kaffe.org>
|
||||
* GormCore/GormWrapperBuilder.m: removed some c99-isms
|
||||
|
||||
2008-01-04 Riccardo Mottola <riccardo@kaffe.org>
|
||||
* GormCore/GormGormWrapperLoader.m: removed some c99-isms
|
||||
* GormCore/GormNibWrapperLoader.m: removed some c99-isms
|
||||
|
|
|
@ -59,6 +59,9 @@ static GormWrapperBuilderFactory *_sharedWrapperBuilderFactory = nil;
|
|||
{
|
||||
NSMutableDictionary *fileWrappers = [NSMutableDictionary dictionary];
|
||||
NSFileWrapper *scmDirWrapper = nil;
|
||||
NSArray *resources;
|
||||
id object;
|
||||
NSEnumerator *en;
|
||||
|
||||
// Assign document and don't retain...
|
||||
document = doc;
|
||||
|
@ -80,10 +83,10 @@ static GormWrapperBuilderFactory *_sharedWrapperBuilderFactory = nil;
|
|||
// but only those which they end up with will actually be put into the wrapper
|
||||
// when the model/document is saved.
|
||||
//
|
||||
NSArray *resources = [[document sounds] arrayByAddingObjectsFromArray:
|
||||
resources = [[document sounds] arrayByAddingObjectsFromArray:
|
||||
[document images]];
|
||||
id object = nil;
|
||||
NSEnumerator *en = [resources objectEnumerator];
|
||||
object = nil;
|
||||
en = [resources objectEnumerator];
|
||||
while ((object = [en nextObject]) != nil)
|
||||
{
|
||||
if([object isSystemResource] == NO)
|
||||
|
|
Loading…
Reference in a new issue