mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:20:38 +00:00
Corrected last patch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6732 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7fc94d8df1
commit
4a64fc1d79
1 changed files with 1 additions and 1 deletions
|
@ -2813,7 +2813,7 @@ scanRange(NSScanner *scanner, NSCharacterSet* aSet)
|
|||
NSString *string = [self string];
|
||||
unsigned length = [string length];
|
||||
|
||||
if (proposedCharRange.location > length)
|
||||
if (proposedCharRange.location >= length)
|
||||
{
|
||||
proposedCharRange.location = length;
|
||||
proposedCharRange.length = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue