diff options
author | Andrew Kitchen <andrew.kitchen@mapbox.com> | 2017-12-08 10:49:39 -0500 |
---|---|---|
committer | Chris Loer <chris.loer@mapbox.com> | 2017-12-11 10:43:00 -0800 |
commit | 4418edbfcd68dacecb525d0344a25204e80e17ce (patch) | |
tree | c7691f4af9cd23350c03af40b1ba1554fec3cc8e /platform/darwin/src/MGLRendererConfiguration.mm | |
parent | 155804be4dfd5dfd5cd6482b218714d59b1075e9 (diff) | |
download | qtlocation-mapboxgl-4418edbfcd68dacecb525d0344a25204e80e17ce.tar.gz |
[darwin, macos] Rename Info.plist key for consistency
Also removes related dead code in macos MGLMapView.mm
Diffstat (limited to 'platform/darwin/src/MGLRendererConfiguration.mm')
-rw-r--r-- | platform/darwin/src/MGLRendererConfiguration.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLRendererConfiguration.mm b/platform/darwin/src/MGLRendererConfiguration.mm index ae7d7dd9fe..be60c3c787 100644 --- a/platform/darwin/src/MGLRendererConfiguration.mm +++ b/platform/darwin/src/MGLRendererConfiguration.mm @@ -35,7 +35,7 @@ } - (mbgl::optional<std::string>)localFontFamilyName { - NSString *fontFamilyName = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"MGLIdeographicFontFamilyName"]; + NSString *fontFamilyName = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"MGLIdeographFontFamilyName"]; return fontFamilyName ? std::string([fontFamilyName UTF8String]) : mbgl::optional<std::string>(); } |