mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
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:
parent
36372f83f2
commit
453cf5c91c
2 changed files with 17 additions and 8 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue