diff options
author | crupest <crupest@outlook.com> | 2021-10-20 17:39:59 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-10-20 17:39:59 +0800 |
commit | 3168b19e9ad1798d5b45c34b3f37ba496f5da66a (patch) | |
tree | 6f21ab5cd51cb3484bfe31363e2b76ddf5fd3766 /include/cru | |
parent | 152133978872f6d6476c3fc7e0e3a5a6cc23b119 (diff) | |
download | cru-3168b19e9ad1798d5b45c34b3f37ba496f5da66a.tar.gz cru-3168b19e9ad1798d5b45c34b3f37ba496f5da66a.tar.bz2 cru-3168b19e9ad1798d5b45c34b3f37ba496f5da66a.zip |
...
Diffstat (limited to 'include/cru')
-rw-r--r-- | include/cru/osx/graphics/quartz/TextLayout.hpp | 2 |
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; |