aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-10-20 17:39:59 +0800
committercrupest <crupest@outlook.com>2021-10-20 17:39:59 +0800
commit3168b19e9ad1798d5b45c34b3f37ba496f5da66a (patch)
tree6f21ab5cd51cb3484bfe31363e2b76ddf5fd3766 /include
parent152133978872f6d6476c3fc7e0e3a5a6cc23b119 (diff)
downloadcru-3168b19e9ad1798d5b45c34b3f37ba496f5da66a.tar.gz
cru-3168b19e9ad1798d5b45c34b3f37ba496f5da66a.tar.bz2
cru-3168b19e9ad1798d5b45c34b3f37ba496f5da66a.zip
...
Diffstat (limited to 'include')
-rw-r--r--include/cru/osx/graphics/quartz/TextLayout.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/osx/graphics/quartz/TextLayout.hpp b/include/cru/osx/graphics/quartz/TextLayout.hpp
index 92e0c861..87932423 100644
--- a/include/cru/osx/graphics/quartz/TextLayout.hpp
+++ b/include/cru/osx/graphics/quartz/TextLayout.hpp
@@ -48,7 +48,7 @@ class OsxCTTextLayout : public OsxQuartzResource, public virtual ITextLayout {
std::shared_ptr<OsxCTFont> font_;
String text_;
- CFAttributedStringRef cf_attributed_text_;
+ CFMutableAttributedStringRef cf_attributed_text_;
CTFramesetterRef ct_framesetter_ = nullptr;
CTFrameRef ct_frame_ = nullptr;