From 6cc1f33e121b9a960541cb80b91af69485f86553 Mon Sep 17 00:00:00 2001 From: Richard Frith-Macdonald Date: Sat, 8 Dec 2001 07:12:08 +0000 Subject: [PATCH] Fix typo git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11660 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 4 ++++ Source/NSAttributedString.m | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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];