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:
Francis Lachapelle
2008-08-21 23:35:34 +00:00
parent 98d6032638
commit 4e8a929769
3 changed files with 45 additions and 45 deletions
+1 -2
View File
@@ -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;