mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Minor range check fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14702 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
772456c67b
commit
8584c46545
1 changed files with 4 additions and 1 deletions
|
@ -2041,7 +2041,10 @@ static BOOL snuggleStart(NSString *t)
|
|||
isEqual: @",..."])
|
||||
{
|
||||
pos += 4;
|
||||
c = [tmp characterAtIndex: pos];
|
||||
if (pos < ePos)
|
||||
{
|
||||
c = [tmp characterAtIndex: pos];
|
||||
}
|
||||
}
|
||||
if (pos > 1 && (pos == ePos || c == ',' || c == '.' || c == ';'))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue