mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 03:51:22 +00:00
Correction for c99'ism to allow compilation with gcc < 3.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@26217 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3769a607ea
commit
6161138b6c
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2008-03-05 20:45-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
|
* GormCore/GormWrapperLoader.m: Correct c99'ism.
|
||||||
|
|
||||||
2008-02-18 20:31-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
2008-02-18 20:31-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
* Palettes/2Controls/GormPopUpButtonEditor.m: Change to use helper
|
* Palettes/2Controls/GormPopUpButtonEditor.m: Change to use helper
|
||||||
|
|
|
@ -62,6 +62,7 @@ static GormWrapperLoaderFactory *_sharedWrapperLoaderFactory = nil;
|
||||||
NSArray *soundFileTypes = [NSSound soundUnfilteredFileTypes];
|
NSArray *soundFileTypes = [NSSound soundUnfilteredFileTypes];
|
||||||
NSMutableArray *images = [NSMutableArray array];
|
NSMutableArray *images = [NSMutableArray array];
|
||||||
NSMutableArray *sounds = [NSMutableArray array];
|
NSMutableArray *sounds = [NSMutableArray array];
|
||||||
|
NSEnumerator *enumerator = nil;
|
||||||
|
|
||||||
document = doc; // don't retain...
|
document = doc; // don't retain...
|
||||||
key = nil;
|
key = nil;
|
||||||
|
@ -69,7 +70,7 @@ static GormWrapperLoaderFactory *_sharedWrapperLoaderFactory = nil;
|
||||||
|
|
||||||
[self saveSCMDirectory: fileWrappers];
|
[self saveSCMDirectory: fileWrappers];
|
||||||
|
|
||||||
NSEnumerator *enumerator = [fileWrappers keyEnumerator];
|
enumerator = [fileWrappers keyEnumerator];
|
||||||
while((key = [enumerator nextObject]) != nil)
|
while((key = [enumerator nextObject]) != nil)
|
||||||
{
|
{
|
||||||
NSFileWrapper *fw = [fileWrappers objectForKey: key];
|
NSFileWrapper *fw = [fileWrappers objectForKey: key];
|
||||||
|
|
Loading…
Reference in a new issue