Fix infinite loop

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20769 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2005-02-21 14:11:22 +00:00
parent bf1209d931
commit 3811228dc0
2 changed files with 6 additions and 2 deletions

View file

@ -653,7 +653,7 @@ static Class GSMutableAttributedStringClass;
self = [self initWithString: string attributes: nil];
[self setAttributes: attrs range: r];
while (index < length);
while (index < length)
{
[aDecoder decodeValueOfObjCType: @encode(unsigned int)
at: &index];