add warning

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32526 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2011-03-10 08:18:52 +00:00
parent 3f15443f98
commit 364d045113

View file

@ -583,6 +583,10 @@ _attributesAtIndexEffectiveRange(
ADDOBJECT(info); ADDOBJECT(info);
RELEASE(info); RELEASE(info);
} }
/* WARNING ... NSLayoutManager depends on the fact that we create the
* _textChars instance variable by copying the aString argument to get
* its own string subclass into the attributed string.
*/
if (aString == nil) if (aString == nil)
_textChars = [[NSMutableString allocWithZone: z] init]; _textChars = [[NSMutableString allocWithZone: z] init];
else else