mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 03:21:04 +00:00
* Source/NSTextView.m (-insertText:): Ignore nil argument.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37694 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c79bd60b8f
commit
cbc00992bf
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2014-02-18 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSTextView.m (-insertText:): Ignore nil argument.
|
||||
|
||||
2014-02-05 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSWindowController.m (-setWindow:): Clear the window
|
||||
|
|
|
@ -2190,6 +2190,11 @@ This method is for user changes; see NSTextView_actions.m.
|
|||
return;
|
||||
}
|
||||
|
||||
if (insertString == nil)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
isAttributed = [insertString isKindOfClass: [NSAttributedString class]];
|
||||
|
||||
if (isAttributed)
|
||||
|
|
Loading…
Reference in a new issue