mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Make sure the typing attributes are always a mutable dictionary that we can modify.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15724 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
66c63d5580
commit
5b78652c15
1 changed files with 1 additions and 1 deletions
|
@ -707,7 +707,7 @@ to this method from the text container or layout manager.
|
|||
/* There is no text network, and the layout manager's attributes
|
||||
might not be set up. We reset them to standard values. */
|
||||
|
||||
DESTROY(_layoutManager->typingAttributes);
|
||||
DESTROY(_layoutManager->_typingAttributes);
|
||||
|
||||
_layoutManager->_typingAttributes = [[isa defaultTypingAttributes] mutableCopy];
|
||||
_layoutManager->_original_selected_range.location = NSNotFound;
|
||||
|
|
Loading…
Reference in a new issue