mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-11 11:25:12 +00:00
Monotone-Parent: 1af347fe96abc17587172e207fcbf80e98d7f6f8
Monotone-Revision: 81291ebd761827191a007b02ee603cd1f31fc8a3 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2008-08-21T23:35:34 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -206,7 +206,7 @@
|
||||
[self addObject: NSStringFromRange (newRange)];
|
||||
}
|
||||
|
||||
- (BOOL) hasRangeIntersection: (NSRange) testRange withOffset: (unsigned int) offset
|
||||
- (BOOL) hasRangeIntersection: (NSRange) testRange
|
||||
{
|
||||
NSEnumerator *ranges;
|
||||
NSString *currentRangeString;
|
||||
@@ -221,7 +221,6 @@
|
||||
while (!response && currentRangeString)
|
||||
{
|
||||
currentRange = NSRangeFromString (currentRangeString);
|
||||
currentRange.location = currentRange.location + offset;
|
||||
if (NSLocationInRange (testRange.location, currentRange)
|
||||
|| NSLocationInRange (NSMaxRange (testRange), currentRange))
|
||||
response = YES;
|
||||
|
||||
Reference in New Issue
Block a user