mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-25 16:12:44 +00:00
Monotone-Parent: b5db024de6e6693dcb4d17a96067ab63c35b81dc
Monotone-Revision: c6255287239acf53aaad227885cb7b5e32ab68af Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-05-16T15:56:53 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -134,8 +134,9 @@ static NSMutableCharacterSet *urlAfterEndingChars = nil;
|
||||
length = endRange.location;
|
||||
length -= start;
|
||||
while
|
||||
([urlNonEndingChars characterIsMember:
|
||||
[self characterAtIndex: (start + length - 1)]])
|
||||
(length > 0
|
||||
&& [urlNonEndingChars characterIsMember:
|
||||
[self characterAtIndex: (start + length - 1)]])
|
||||
length--;
|
||||
|
||||
return NSMakeRange (start, length);
|
||||
|
||||
Reference in New Issue
Block a user