diff --git a/ChangeLog b/ChangeLog index e7dbb0571..68ab2e83b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-12-08 Richard Frith-Macdonald + + * Source/NSAttributedString.m: ([initWithCoder:]) fix typo. + 2001-12-07 Adam Fedor * Headers/gnustep/base/NSDebug.h: Add NSDebugLog functions diff --git a/Source/NSAttributedString.m b/Source/NSAttributedString.m index 72a66fbe1..4834c31f8 100644 --- a/Source/NSAttributedString.m +++ b/Source/NSAttributedString.m @@ -181,7 +181,7 @@ static Class GSMutableAttributedStringClass; m = [NSMutableAttributedString alloc]; m = [m initWithString: string attributes: nil]; [m setAttributes: attrs range: r]; - while (index < length); + while (index < length) { [aDecoder decodeValueOfObjCType: @encode(unsigned int) at: &index];