removed c99-ism

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@31578 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2010-11-01 13:06:01 +00:00
parent 77064296dc
commit dce7c06f1f
3 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2010-11-01 Riccardo Mottola
* Plugins/Xib/GormXibWrapperLoader.m
Removed c99-ism
2010-09-39 Niels Grewe <niels.grewe@halbordnung.de>
* Gorm.m: Replace calls to sel_eq() with sel_isEqual() for

View file

@ -25,6 +25,8 @@
#define GORM_GORMPLUGIN
#include <InterfaceBuilder/IBPlugin.h>
@class NSString, NSArray;
@interface GormPlugin : IBPlugin
- (void) registerDocumentTypeName: (NSString *)name
humanReadableName: (NSString *)hrName

View file

@ -122,6 +122,7 @@
}
else
{
NSEnumerator *en;
//
// Create an unarchiver, and use it to unarchive the gorm file while
// handling class replacement so that standard objects understood
@ -144,7 +145,7 @@
//
// Substitute any classes specified by the palettes...
//
NSEnumerator *en = [substituteClasses keyEnumerator];
en = [substituteClasses keyEnumerator];
while((subClassName = [en nextObject]) != nil)
{
NSString *realClassName = [substituteClasses objectForKey: subClassName];