From 90f8d64963fe87092de64214738967dcdd8c1632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Tue, 24 Jul 2018 08:44:06 -0700 Subject: [ios, macos] Fixed typos in expression conversion error messages --- platform/darwin/src/NSExpression+MGLAdditions.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/darwin/src/NSExpression+MGLAdditions.mm b/platform/darwin/src/NSExpression+MGLAdditions.mm index 2a4c80bee6..efd572935b 100644 --- a/platform/darwin/src/NSExpression+MGLAdditions.mm +++ b/platform/darwin/src/NSExpression+MGLAdditions.mm @@ -1220,7 +1220,7 @@ NSArray *MGLSubexpressionsWithJSONObjects(NSArray *objects) { NSDictionary *stops = self.arguments[curveTypeIndex + 2].constantValue; if (stops.count == 0) { - [NSException raise:NSInvalidArgumentException format:@"‘stops‘ dictionary argument to ‘%@’ function must not be empty.", self.function]; + [NSException raise:NSInvalidArgumentException format:@"‘stops’ dictionary argument to ‘%@’ function must not be empty.", self.function]; } NSMutableArray *expressionObject = [NSMutableArray arrayWithObjects:@"interpolate", interpolationArray, nil]; @@ -1239,7 +1239,7 @@ NSArray *MGLSubexpressionsWithJSONObjects(NSArray *objects) { NSDictionary *stops = self.arguments[minimumIndex + 1].constantValue; if (stops.count == 0) { - [NSException raise:NSInvalidArgumentException format:@"‘stops‘ dictionary argument to ‘%@’ function must not be empty.", self.function]; + [NSException raise:NSInvalidArgumentException format:@"‘stops’ dictionary argument to ‘%@’ function must not be empty.", self.function]; } NSMutableArray *expressionObject = [NSMutableArray arrayWithObjects:@"step", (isAftermarketFunction ? self.arguments.firstObject : self.operand).mgl_jsonExpressionObject, minimum, nil]; -- cgit v1.2.1