Changeset 24342
- Timestamp:
- 07/14/2008 05:32:32 PM (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Frameworks/AutoHyperlinks Framework/Source/AHHyperlinkScanner.m
r24284 r24342 306 306 } 307 307 308 m_scanLocation = _scanLoc - finalStringLen;309 310 308 // if we have a valid URL then save the scanned string, and make a SHMarkedHyperlink out of it. 311 309 // this way, we can preserve things like the matched string (to be converted to a NSURL), … … 358 356 if (startRange.location != NSNotFound) { 359 357 m_scanLocation += startRange.length; 360 if(m_scanLocation > =m_scanStringLength)358 if(m_scanLocation > m_scanStringLength) 361 359 m_scanLocation--; 362 360 }else{ 363 361 m_scanLocation += finalStringLen; 364 if(m_scanLocation > =m_scanStringLength)362 if(m_scanLocation > m_scanStringLength) 365 363 m_scanLocation--; 366 364 }