mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
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:
parent
aa9dc05668
commit
74ce36e003
1 changed files with 10 additions and 1 deletions
|
@ -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 @"";
|
||||
|
|
Loading…
Reference in a new issue