Revision: 12810 http://sourceforge.net/p/skim-app/code/12810 Author: hofman Date: 2022-03-18 15:29:03 +0000 (Fri, 18 Mar 2022) Log Message: ----------- remove braces
Modified Paths: -------------- trunk/PDFSelection_SKExtensions.m Modified: trunk/PDFSelection_SKExtensions.m =================================================================== --- trunk/PDFSelection_SKExtensions.m 2022-03-18 10:30:09 UTC (rev 12809) +++ trunk/PDFSelection_SKExtensions.m 2022-03-18 15:29:03 UTC (rev 12810) @@ -86,9 +86,8 @@ NSString *str = [[[line string] stringByRemovingAliens] stringByCollapsingWhitespaceAndNewlinesAndRemovingSurroundingWhitespaceAndNewlines]; if ([str length] == 0) continue; NSInteger l = [string length]; - if (l > 1 && [string characterAtIndex:l - 1] == '-' && [[NSCharacterSet letterCharacterSet] characterIsMember:[string characterAtIndex:l - 2]] && [line safeIndexOfFirstCharacterOnPage:nil] <= [lastLine safeIndexOfLastCharacterOnPage:nil] + 2) { + if (l > 1 && [string characterAtIndex:l - 1] == '-' && [[NSCharacterSet letterCharacterSet] characterIsMember:[string characterAtIndex:l - 2]] && [line safeIndexOfFirstCharacterOnPage:nil] <= [lastLine safeIndexOfLastCharacterOnPage:nil] + 2) [string deleteCharactersInRange:NSMakeRange(l - 1, 1)]; - } else if (l > 0) [string appendString:@" "]; [string appendString:str]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit