MacOS-X compatibility tweak

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24663 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2007-02-20 08:47:55 +00:00
parent 31a7b5d823
commit 0785e1104f
2 changed files with 4 additions and 1 deletions

View file

@ -3,6 +3,9 @@
* configure.ac: Fixup to locate headers and libraries installed in
system root subdirectories again.
* configure: Regenerated.
* Source/NSNumber.m: Chance description and stringValue methods to
return 1/0 rather than YES/NO for compatibility with undocumented
MacOS-X implementation detail (bug #19010)
2007-02-19 Nicola Pero <nicola.pero@meta-innovation.com>

View file

@ -828,7 +828,7 @@ static Class doubleNumberClass;
switch (info->typeLevel)
{
case 0:
return [self boolValue] ? @"YES" : @"NO";
return [self boolValue] ? @"1" : @"0";
break;
case 1: