mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Nasty recursion problem fixed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9714 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bc34d7aa64
commit
70179f6bd5
3 changed files with 23 additions and 1 deletions
|
@ -307,8 +307,15 @@ handle_printf_atsign (FILE *stream,
|
|||
|
||||
+ (void) initialize
|
||||
{
|
||||
if (self == [NSString class])
|
||||
/*
|
||||
* Flag required as we call this method explicitly from GSBuildStrings()
|
||||
* to ensure that NSString is initialised properly.
|
||||
*/
|
||||
static BOOL beenHere = NO;
|
||||
|
||||
if (self == [NSString class] && beenHere == NO)
|
||||
{
|
||||
beenHere = YES;
|
||||
plSel = @selector(initWithCharacters:length:);
|
||||
cMemberSel = @selector(characterIsMember:);
|
||||
_DefaultStringEncoding = GetDefEncoding();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue