From 74b7774beb5734ab70cf8b734aa0f9328cd39f9f Mon Sep 17 00:00:00 2001 From: Richard Frith-MacDonald Date: Mon, 7 Dec 2009 05:10:50 +0000 Subject: [PATCH] GSMutableString inherits hash implementation from GSString git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29105 72102866-910b-0410-8b05-ffd578937521 --- Source/GSString.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/GSString.m b/Source/GSString.m index 3134ef189..d3efc52bb 100644 --- a/Source/GSString.m +++ b/Source/GSString.m @@ -2808,7 +2808,7 @@ transmute(GSStr self, NSString *aString) if (self->_flags.wide) { - register const char *p = self->_contents.u; + register const unichar *p = self->_contents.u; while (index < len) { @@ -3613,6 +3613,7 @@ agree, create a new GSUnicodeInlineString otherwise. + (void) initialize { setup(); + GSObjCAddClassBehavior(self, [GSString class]); } - (void) appendFormat: (NSString*)format, ...