mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Revert code!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9648 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c0a04507c3
commit
555c532732
2 changed files with 3 additions and 1 deletions
|
@ -2709,7 +2709,7 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
|
|||
{
|
||||
unsigned need = NSMaxRange(aRange);
|
||||
|
||||
if (aRange.location > capacity)
|
||||
if (aRange.location > length)
|
||||
{
|
||||
[NSException raise: NSRangeException
|
||||
format: @"location bad in replaceByteInRange:withBytes:"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue