mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +00:00
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:
parent
bf1209d931
commit
3811228dc0
2 changed files with 6 additions and 2 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue