From 1f8b4a430f0016c71459f18a77560f9e3e3f2bae Mon Sep 17 00:00:00 2001 From: Thierry Crozat Date: Sun, 28 Oct 2018 17:27:52 +0000 Subject: IOS: Fix missing brackets --- backends/platform/ios7/ios7_video.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/platform') 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; -- cgit v1.2.3