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

@ -1,3 +1,7 @@
2005-02-21 14:10 Stefan Urbanek <stefan@agentfarms.net>
* Source/NSAttributedString.m: Fix loop decoding from archive.
2005-02-18 06:20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Tidy up some of last patch for unicode filesystem

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];