mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Corrected a core dump when selecting "open" and the "new application" from the menu.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@14950 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
81141753de
commit
32ae05c7d5
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-11-06 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormObjectEditor.m: +[GormObjectEditor initialize]: Corrected how the map table
|
||||
is created to prevent a crash.
|
||||
|
||||
2002-11-06 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormDocument.m: -[GormDocument createClassesFiles:] added if the simply return
|
||||
|
|
|
@ -78,8 +78,12 @@ static NSMapTable *docMap = 0;
|
|||
{
|
||||
if (self == [GormObjectEditor class])
|
||||
{
|
||||
docMap = NSCreateMapTable(NSNonRetainedObjectMapKeyCallBacks,
|
||||
NSObjectMapValueCallBacks, 2);
|
||||
docMap = NSCreateMapTable(NSObjectMapKeyCallBacks,
|
||||
NSObjectMapValueCallBacks,
|
||||
2);
|
||||
|
||||
// docMap = NSCreateMapTable(NSNonRetainedObjectMapKeyCallBacks,
|
||||
// NSObjectMapValueCallBacks, 2);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue