From 0ebd15dc5ddea942d268d2b9d84a8fb1c60c0c92 Mon Sep 17 00:00:00 2001 From: alexm Date: Sun, 26 Jan 2003 19:42:03 +0000 Subject: [PATCH] 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 --- Source/NSTextView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/NSTextView.m b/Source/NSTextView.m index 0cf6461c8..a31da905c 100644 --- a/Source/NSTextView.m +++ b/Source/NSTextView.m @@ -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;