Bug fixes. See ChangeLog

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@37795 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Manuel Guesdon 2014-04-13 19:34:39 +00:00
parent 729a630d3f
commit 334e5aaed3
27 changed files with 324 additions and 291 deletions

View file

@ -232,15 +232,11 @@ An exception is raised if the end quote is not found,...
index:(int*)indexPtr
stopIndex:(int)stopIndex
{
int startIndex=0;
NSAssert2(_uniBuf[*indexPtr]==quote,@"First character is not a '%c' but a '%c'",
(char)quote,(char)_uniBuf[*indexPtr]);
(*indexPtr)++; //skip quote
startIndex=*indexPtr;
while(*indexPtr<=stopIndex
&& _uniBuf[*indexPtr]!=quote)
{
@ -557,7 +553,6 @@ May raise exception.
}
else
{
NSString* tagPropertiesString=nil;
NSDictionary* tagProperties;
if (_uniBuf[_index-1]=='/')
@ -565,9 +560,6 @@ May raise exception.
stopTag=YES;
tagPropertiesStopIndex--;
};
tagPropertiesString=[NSString stringWithCharacters:_uniBuf+tagPropertiesStartIndex
length:tagPropertiesStopIndex-tagPropertiesStartIndex];
tagProperties=[self tagPropertiesForType:tagType
betweenIndex:tagPropertiesStartIndex
andIndex:tagPropertiesStopIndex-1];