Fix suggested by Dag Agren in bug #35477

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34744 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2012-02-08 15:34:48 +00:00
parent 3527181d41
commit 06ba8d9c58
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-02-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSConcreteValueTemplate.m: Don't ask a non-retained object
to describe itsself (in case it has gon away) bug#35477
2012-02-07 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac: Check for threading library on QNX.

View file

@ -245,7 +245,7 @@
- (NSString *) description
{
#if TYPE_ORDER == 0
return [NSString stringWithFormat: @"{object = %@;}", [data description]];
return [NSString stringWithFormat: @"{object = %p;}", data];
#elif TYPE_ORDER == 1
return NSStringFromPoint(data);
#elif TYPE_ORDER == 2