summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2018-07-24 08:44:06 -0700
committerMinh Nguyễn <mxn@1ec5.org>2018-07-25 04:25:45 -0700
commit3a97734cd2fa1628c31237318caf34939d9ec26a (patch)
treeb3d526f1a7d6d1897bf605d75358f3df8981f55e
parentcdd35536417fe16cc60e225f1bd7462f4242e795 (diff)
downloadqtlocation-mapboxgl-3a97734cd2fa1628c31237318caf34939d9ec26a.tar.gz
[ios, macos] Fixed typos in expression conversion error messages
-rw-r--r--platform/darwin/src/NSExpression+MGLAdditions.mm4
1 files 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<NSNumber *, NSExpression *> *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<NSNumber *, NSExpression *> *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];