Fixed a warning.

This commit is contained in:
Damiano Galassi committed 2014-10-29 19:00:00 +01:00
1 parent 064ae8235c
commit ea68240920
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -128,7 +128,7 @@ protected:
if (string && strlen(string)) {
text = [NSMutableString stringWithUTF8String:string];
if (text && [text characterAtIndex:[text length] -1] == '\n')
[text replaceOccurrencesOfString:@"\n\n" withString:@"" options:nil range:NSMakeRange(0,[text length])];
[text replaceOccurrencesOfString:@"\n\n" withString:@"" options:NSLiteralSearch range:NSMakeRange(0,[text length])];
}
delete[]string;
+1 -1
View File
@@ -1232,7 +1232,7 @@
"$(SRCROOT)/Tesseract",
);
MACOSX_DEPLOYMENT_TARGET = 10.6;
ONLY_ACTIVE_ARCH = NO;
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = (
"-read_only_relocs",
suppress,