aboutsummaryrefslogtreecommitdiff
path: root/src/platform/graphics/quartz/Font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/graphics/quartz/Font.cpp')
-rw-r--r--src/platform/graphics/quartz/Font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/graphics/quartz/Font.cpp b/src/platform/graphics/quartz/Font.cpp
index 4d03c56e..0c03e5e0 100644
--- a/src/platform/graphics/quartz/Font.cpp
+++ b/src/platform/graphics/quartz/Font.cpp
@@ -7,7 +7,7 @@ namespace cru::platform::graphics::quartz {
OsxCTFont::OsxCTFont(IGraphicsFactory* graphics_factory, const String& name,
float size)
: OsxQuartzResource(graphics_factory), name_(name) {
- auto n = ToCFStringRef(name);
+ auto n = ToCFString(name);
if (name.empty()) {
ct_font_ =