mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +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
61fa7fb11a
commit
1704cf4767
2 changed files with 6 additions and 0 deletions
|
@ -7,6 +7,8 @@
|
|||
* Tools/gdomap.c: many changes ... several fixes to work on mingw
|
||||
rewrite some clumsy inefficient code, make variables and functions
|
||||
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>
|
||||
|
||||
|
|
|
@ -1132,6 +1132,10 @@ static Class NSDataMallocClass;
|
|||
NSUnarchiverObjectInfo *info;
|
||||
|
||||
info = [objDict objectForKey: className];
|
||||
if (info == nil)
|
||||
{
|
||||
return NSNotFound;
|
||||
}
|
||||
return info->version;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue