Skip to content
This repository was archived by the owner on Oct 31, 2022. It is now read-only.

Commit 4355ff0

Browse files
committed
Fix for issue which affected older versions of OS X
1 parent 25e22d5 commit 4355ff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/Utility.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ int hapCodecMaxTasks()
3535
Some Adobe products throw an error if they queue more than 10 buffers
3636
*/
3737
NSString *name = [[NSProcessInfo processInfo] processName];
38-
if ([name containsString:@"Adobe"])
38+
if ([name rangeOfString:@"Adobe"].length > 0)
3939
{
4040
return 10;
4141
}

0 commit comments

Comments
 (0)