summaryrefslogtreecommitdiffstats
path: root/macosx/HBCodingUtilities.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-05-23 09:07:53 +0000
committerritsuka <[email protected]>2015-05-23 09:07:53 +0000
commit28b6d0ad4dc60ad55924eaffc4abdba31a116e70 (patch)
tree4fec91ed9b2cdc0514f5c33823820fbdc813852a /macosx/HBCodingUtilities.m
parent83f67c2d94fdf8cafca5804426d177f3e10fd02c (diff)
MacGui: fix queue reading on 10.7.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7218 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBCodingUtilities.m')
-rw-r--r--macosx/HBCodingUtilities.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBCodingUtilities.m b/macosx/HBCodingUtilities.m
index b6b97dce6..a87ad3f7a 100644
--- a/macosx/HBCodingUtilities.m
+++ b/macosx/HBCodingUtilities.m
@@ -18,7 +18,7 @@ static BOOL useSecureCoding;
if (!initialized && self == [HBCodingUtilities class])
{
- useSecureCoding = NSProtocolFromString(@"NSSecureCoding") ? YES : NO;
+ useSecureCoding = [NSCoder instancesRespondToSelector:@selector(decodeObjectOfClass:forKey:)] ? YES : NO;
}
}