From ad3166a3e6c5b623c26c3296c464a87971cf4d43 Mon Sep 17 00:00:00 2001 From: VincentRoth Date: Thu, 30 Jun 2016 10:09:11 +0200 Subject: [PATCH] Fix CGRectMake parameter --- src/ios/FileOpener2.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ios/FileOpener2.m b/src/ios/FileOpener2.m index 025769e..28484c2 100644 --- a/src/ios/FileOpener2.m +++ b/src/ios/FileOpener2.m @@ -42,9 +42,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. CGRect rect; if (3 >= [command.arguments count]) { NSArray *positionValues = command.arguments[2]; - rect = CGRectMake([0,0, - [[positionValues objectAtIndex:0] floatValue], - [[positionValues objectAtIndex:1] floatValue]); + rect = CGRectMake(0,0,[[positionValues objectAtIndex:0] floatValue],[[positionValues objectAtIndex:1] floatValue]); } else { rect = CGRectMake(0, 0, 1000.0f, 150.0f); }