Updated for change in NSCell API to prevent crashes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11233 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2001-10-24 10:05:56 +00:00
parent aa9dc05668
commit 74ce36e003

View file

@ -3095,7 +3095,16 @@ static double rint(double a)
}
else
{
return [c stringValue];
NSString *value = [c stringValue];
if (value != nil)
{
return value;
}
else
{
return @"";
}
}
}
return @"";