aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorThierry Crozat2018-10-28 17:27:52 +0000
committerThierry Crozat2018-10-28 17:27:52 +0000
commit1f8b4a430f0016c71459f18a77560f9e3e3f2bae (patch)
tree0f9c4f0d2148ed8dde0600c2bcdeb0de6e7363d9 /backends/platform
parentb4bad9100a07266b38a0adaa2efa597b362f027f (diff)
downloadscummvm-rg350-1f8b4a430f0016c71459f18a77560f9e3e3f2bae.tar.gz
scummvm-rg350-1f8b4a430f0016c71459f18a77560f9e3e3f2bae.tar.bz2
scummvm-rg350-1f8b4a430f0016c71459f18a77560f9e3e3f2bae.zip
IOS: Fix missing brackets
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/ios7/ios7_video.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/ios7/ios7_video.mm b/backends/platform/ios7/ios7_video.mm
index 35df78ea51..160a905997 100644
--- a/backends/platform/ios7/ios7_video.mm
+++ b/backends/platform/ios7/ios7_video.mm
@@ -804,7 +804,7 @@ uint getSizeNextPOT(uint size) {
#if __has_builtin(__builtin_available)
if ( @available(iOS 11,*) ) {
#else
- if ( [[UIApplication sharedApplication] keyWindow] respondsToSelector:@selector(safeAreaInsets) ) {
+ if ( [[[UIApplication sharedApplication] keyWindow] respondsToSelector:@selector(safeAreaInsets)] ) {
#endif
CGRect screenSize = [[UIScreen mainScreen] bounds];
UIEdgeInsets inset = [[UIApplication sharedApplication] keyWindow].safeAreaInsets;