Fix a few typos

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14722 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2002-10-11 11:30:45 +00:00
parent 36372f83f2
commit 453cf5c91c
2 changed files with 17 additions and 8 deletions

View file

@ -1623,7 +1623,7 @@ static BOOL snuggleStart(NSString *t)
*/
if (optr[-2] == '/' && optr[-3] != ' ')
{
unsigned len = ptr - buf;
unsigned len = optr - buf;
unichar c[len + 1];
memcpy(c, buf, (len+1)*sizeof(unichar));
@ -1634,7 +1634,7 @@ static BOOL snuggleStart(NSString *t)
}
else
{
tmp = [NSString stringWithCharacters: buf length: ptr - buf];
tmp = [NSString stringWithCharacters: buf length: optr - buf];
}
[a addObject: tmp];
}