mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Document logging capabilities.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14685 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d96905757a
commit
898a3fa1cd
5 changed files with 115 additions and 15 deletions
|
@ -2097,16 +2097,17 @@ static BOOL snuggleStart(NSString *t)
|
|||
&& [str isEqual: @"main"] == NO)
|
||||
{
|
||||
ok = YES;
|
||||
if (len > r.location + 2)
|
||||
if (len > NSMaxRange(r))
|
||||
{
|
||||
NSString *end;
|
||||
|
||||
end = [tmp substringFromIndex: r.location + 2];
|
||||
end = [tmp substringFromIndex: NSMaxRange(r)];
|
||||
c = [end characterAtIndex: 0];
|
||||
if (c == ',' || c == '.' || c == ';')
|
||||
{
|
||||
[a insertObject: end atIndex: l + 1];
|
||||
tmp = [tmp substringToIndex: r.location + 2];
|
||||
tmp = [tmp substringToIndex: NSMaxRange(r)];
|
||||
[a replaceObjectAtIndex: l withObject: tmp];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue