Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[osx] Fixed crash on launch on OS X 10.10
Browse files Browse the repository at this point in the history
Fixed a crash introduced in #4783 that occurs when launching osxapp. -[NSString localizedCapitalizedString] is only available on OS X 10.11 and above.
  • Loading branch information
1ec5 committed Apr 25, 2016
1 parent 76d6aba commit 0339639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/osx/app/LocationCoordinate2DTransformer.m
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ - (id)transformedValue:(id)value {
if (![value isKindOfClass:[NSValue class]]) {
return nil;
}
return [_coordinateFormatter stringForObjectValue:value].localizedCapitalizedString;
return [_coordinateFormatter stringForObjectValue:value].capitalizedString;
}

@end

0 comments on commit 0339639

Please sign in to comment.