osx compatibility tweak.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30140 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2010-04-13 18:37:09 +00:00
parent 73453c90f0
commit cfa8831721
2 changed files with 13 additions and 1 deletions

View file

@ -796,7 +796,12 @@ static SEL rlSel;
RELEASE(myString);
if ([result isKindOfClass: NSArrayClass])
{
self = [self initWithArray: result];
//self = [self initWithArray: result];
/* OSX appears to always return a mutable array rather than
* the class of the receiver.
*/
RELEASE(self);
self = RETAIN(result);
}
else
{