summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Dickow <jjdickow@gmail.com>2016-03-11 10:59:37 -0500
committerJustin Dickow <jjdickow@gmail.com>2016-03-11 10:59:37 -0500
commit6f58b28c83eac8498e189b59b92fde3354e7610b (patch)
tree571dd30bd5732b1553a9120dfdb1bf9688ea04c5
parent752ce72fa86a42ad6a3e531adfc309672f95824d (diff)
downloadsdl_ios-6f58b28c83eac8498e189b59b92fde3354e7610b.tar.gz
Don't check BOOL against NO, use ! insteadhotfix/issue_371
-rw-r--r--SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m b/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m
index 18a09d0b1..f6c7d091c 100644
--- a/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m
+++ b/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m
@@ -365,7 +365,7 @@ const int POLICIES_CORRELATION_ID = 65535;
// If system version is less than 9.0 http://stackoverflow.com/a/5337804/1370927
if ([[[UIDevice currentDevice] systemVersion] compare:@"9.0" options:NSNumericSearch] == NSOrderedAscending) {
// Return early if we can't openURL because openURL will crash instead of fail silently in < 9.0
- if ([[UIApplication sharedApplication] canOpenURL:URLScheme] == NO) {
+ if (![[UIApplication sharedApplication] canOpenURL:URLScheme]) {
return;
}
}