summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLRendererConfiguration.mm
diff options
context:
space:
mode:
authorAndrew Kitchen <andrew.kitchen@mapbox.com>2017-12-08 10:49:39 -0500
committerChris Loer <chris.loer@mapbox.com>2017-12-11 10:43:00 -0800
commit4418edbfcd68dacecb525d0344a25204e80e17ce (patch)
treec7691f4af9cd23350c03af40b1ba1554fec3cc8e /platform/darwin/src/MGLRendererConfiguration.mm
parent155804be4dfd5dfd5cd6482b218714d59b1075e9 (diff)
downloadqtlocation-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.mm2
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>();
}