mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Further correction to latin1 conversion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39299 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
912fbca179
commit
ce29f2223d
1 changed files with 1 additions and 1 deletions
|
@ -5904,7 +5904,7 @@ literalIsEqual(NXConstantString *self, id anObject)
|
|||
/* If all the characters are latin1 we can copy them efficiently.
|
||||
*/
|
||||
p = b = NSAllocateCollectable(length, 0);
|
||||
while (i < length)
|
||||
while (i < nxcslen)
|
||||
{
|
||||
*p++ = (uint8_t)nextUTF8((const uint8_t *)nxcsptr, nxcslen, &i, &n);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue