aboutsummaryrefslogtreecommitdiff
path: root/src/osx/graphics/quartz/Font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osx/graphics/quartz/Font.cpp')
-rw-r--r--src/osx/graphics/quartz/Font.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osx/graphics/quartz/Font.cpp b/src/osx/graphics/quartz/Font.cpp
index 596489e4..72d6d56d 100644
--- a/src/osx/graphics/quartz/Font.cpp
+++ b/src/osx/graphics/quartz/Font.cpp
@@ -13,6 +13,7 @@ OsxCTFont::OsxCTFont(IGraphicsFactory* graphics_factory, const String& name,
CFStringRef n = Convert(name);
ct_font_ = CTFontCreateWithName(n, size, nullptr);
+ Ensures(ct_font_);
CFRelease(n);
}