mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Orrect ivar name
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/freeze-1_0_0@9531 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
de8fda838a
commit
e5a0c8b67f
1 changed files with 1 additions and 1 deletions
|
@ -2705,7 +2705,7 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
|
|||
{
|
||||
unsigned need = NSMaxRange(aRange);
|
||||
|
||||
if (aRange.location > size)
|
||||
if (aRange.location > capacity)
|
||||
{
|
||||
[NSException raise: NSRangeException
|
||||
format: @"location bad in replaceByteInRange:withBytes:"];
|
||||
|
|
Loading…
Reference in a new issue