diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-08-18 17:22:22 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-08-18 17:22:22 +0800 |
commit | d54052bccefe3bc4332a1636d348a10b197ad869 (patch) | |
tree | adb41c6b79f6dc6fd12b68341e2a2f3a6d8e6816 /src/platform/graphics/quartz/TextLayout.cpp | |
parent | 63807c3064002ec75b48c444a767e396c273f403 (diff) | |
download | cru-d54052bccefe3bc4332a1636d348a10b197ad869.tar.gz cru-d54052bccefe3bc4332a1636d348a10b197ad869.tar.bz2 cru-d54052bccefe3bc4332a1636d348a10b197ad869.zip |
Rename ToCFStringRef to ToCFString.
Diffstat (limited to 'src/platform/graphics/quartz/TextLayout.cpp')
-rw-r--r-- | src/platform/graphics/quartz/TextLayout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/graphics/quartz/TextLayout.cpp b/src/platform/graphics/quartz/TextLayout.cpp index 1be52c48..8c573c7a 100644 --- a/src/platform/graphics/quartz/TextLayout.cpp +++ b/src/platform/graphics/quartz/TextLayout.cpp @@ -72,7 +72,7 @@ void OsxCTTextLayout::DoSetText(String text) { } } - auto s = ToCFStringRef(actual_text_); + auto s = ToCFString(actual_text_); cf_attributed_text_ = CFAttributedStringCreateMutable(nullptr, 0); CFAttributedStringReplaceString(cf_attributed_text_, CFRangeMake(0, 0), s.ref); Ensures(cf_attributed_text_); |