In loadFileWrapper:withDocument: removed the check for the info file. Some earlier versions of the .gorm wrapper don't have this file.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23156 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2006-07-10 05:34:43 +00:00
parent 7d5e68a2c0
commit 4025566690
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2006-07-10 01:32 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormGormWrapperLoader.m: in loadFileWrapper:withDocument:
removed the check for the info file. Some earlier versions of
the .gorm wrapper don't have this file.
2006-07-09 23:27 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormNibWrapperLoader.m: Replace the destination or

View file

@ -192,7 +192,9 @@
}
// check the data...
if (data == nil || [document infoData] == nil || classes == nil)
// NOTE: If info isn't present, then it's an older archive which
// doesn't contain that file.
if (data == nil || classes == nil)
{
return NO;
}