[Scummvm-git-logs] scummvm master -> b41a3a518a0d2871eab8aa5e3b5d4f9b440d5036
criezy
criezy at scummvm.org
Sun Oct 28 18:41:46 CET 2018
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
b41a3a518a IOS: Attempt to fix compilation with pre-iOS 11 SDK
Commit: b41a3a518a0d2871eab8aa5e3b5d4f9b440d5036
https://github.com/scummvm/scummvm/commit/b41a3a518a0d2871eab8aa5e3b5d4f9b440d5036
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2018-10-28T17:40:56Z
Commit Message:
IOS: Attempt to fix compilation with pre-iOS 11 SDK
Changed paths:
backends/platform/ios7/ios7_video.mm
diff --git a/backends/platform/ios7/ios7_video.mm b/backends/platform/ios7/ios7_video.mm
index 160a905..955f54a 100644
--- a/backends/platform/ios7/ios7_video.mm
+++ b/backends/platform/ios7/ios7_video.mm
@@ -807,7 +807,7 @@ uint getSizeNextPOT(uint size) {
if ( [[[UIApplication sharedApplication] keyWindow] respondsToSelector:@selector(safeAreaInsets)] ) {
#endif
CGRect screenSize = [[UIScreen mainScreen] bounds];
- UIEdgeInsets inset = [[UIApplication sharedApplication] keyWindow].safeAreaInsets;
+ UIEdgeInsets inset = [[[UIApplication sharedApplication] keyWindow] safeAreaInsets];
UIInterfaceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation];
CGRect newFrame = screenSize;
if ( orientation == UIInterfaceOrientationPortrait ) {
More information about the Scummvm-git-logs
mailing list