diff --git a/ChangeLog b/ChangeLog index 449242447..a01a1ccbf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-09-09 Richard Frith-Macdonald + + * Source/GSString.m: Implement init for GSPlaceHolderString + to return an empty inline unicode string. + 2004-09-07 Adam Fedor * Documentation/HtmlNav/docs-web.html: Update to work with current diff --git a/Source/GSString.m b/Source/GSString.m index 534a7e716..7b4f840e7 100644 --- a/Source/GSString.m +++ b/Source/GSString.m @@ -340,6 +340,14 @@ setup(void) return; // Placeholders never get deallocated. } +/* + * Replace self with an empty inline unicode string. + */ +- (id) init +{ + return [self initWithCharacters: 0 length: 0]; +} + /* * Replace self with an inline unicode string. */