summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-04-30 16:02:11 +0000
committerritsuka <[email protected]>2015-04-30 16:02:11 +0000
commit1c59ab0f6e1a92c0f79629658302936796c6f7ed (patch)
tree64bb591e07325c77d4232c8f2df3b831a5e453bf
parent722e5be5cb99797662346f5643c71d8da6357dd3 (diff)
MacGui: cosmetics
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7133 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--macosx/HBCodingUtilities.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/macosx/HBCodingUtilities.m b/macosx/HBCodingUtilities.m
index 8cf7e02bd..b6b97dce6 100644
--- a/macosx/HBCodingUtilities.m
+++ b/macosx/HBCodingUtilities.m
@@ -15,7 +15,9 @@ static BOOL useSecureCoding;
+ (void)initialize
{
static BOOL initialized = NO;
- if(!initialized && self == [HBCodingUtilities class]) {
+
+ if (!initialized && self == [HBCodingUtilities class])
+ {
useSecureCoding = NSProtocolFromString(@"NSSecureCoding") ? YES : NO;
}
}