mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-03 21:31:00 +00:00
Minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12774 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d5d2c5b6f7
commit
ffea33604b
2 changed files with 6 additions and 0 deletions
|
@ -7,6 +7,8 @@
|
||||||
* Tools/gdomap.c: many changes ... several fixes to work on mingw
|
* Tools/gdomap.c: many changes ... several fixes to work on mingw
|
||||||
rewrite some clumsy inefficient code, make variables and functions
|
rewrite some clumsy inefficient code, make variables and functions
|
||||||
local. etc.
|
local. etc.
|
||||||
|
* Source/NSUnarchiver.m: ([versionForClassNameL]) return NSNotFound
|
||||||
|
if the class name was not present.
|
||||||
|
|
||||||
Mon Feb 25 15:26:38 2002 Nicola Pero <nicola@brainstorm.co.uk>
|
Mon Feb 25 15:26:38 2002 Nicola Pero <nicola@brainstorm.co.uk>
|
||||||
|
|
||||||
|
|
|
@ -1132,6 +1132,10 @@ static Class NSDataMallocClass;
|
||||||
NSUnarchiverObjectInfo *info;
|
NSUnarchiverObjectInfo *info;
|
||||||
|
|
||||||
info = [objDict objectForKey: className];
|
info = [objDict objectForKey: className];
|
||||||
|
if (info == nil)
|
||||||
|
{
|
||||||
|
return NSNotFound;
|
||||||
|
}
|
||||||
return info->version;
|
return info->version;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue