mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 17:51:01 +00:00
(initWithType:): Fix previous attempt at avoiding infinite loop.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@248 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
230f5ecf47
commit
f81aa9757d
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@
|
||||||
{
|
{
|
||||||
if (strcmp(contentEncoding, @encode(char)))
|
if (strcmp(contentEncoding, @encode(char)))
|
||||||
[self error:"invalid args to String initializer"];
|
[self error:"invalid args to String initializer"];
|
||||||
[self initWithCString:NULL range:((IndexRange){0,0})];
|
[super initWithType:contentEncoding];
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue