Restore 10.9 compatibility.

This commit is contained in:
Damiano Galassi committed 2017-09-27 21:11:40 +02:00
1 parent 98935447d1
commit 2229eeac7d
2 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ canOutput:
if (l->begin_time <= begin_time) {
// Try to be a bit smart and avoid duplicated lines
// from ssa.
if (!ssa || ![str containsString:l->line]) {
if (!ssa || [str rangeOfString:l->line].location == NSNotFound) {
[str appendString:l->line];
}
}