mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 19:50:48 +00:00
* Source/NSTextView.m
(-_scheduleTextCheckingInVisibleRectIfNeeded): Check for nil before sending -rectValue to avoid crash git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34238 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6bda28bead
commit
f2e7794e32
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2011-12-01 Eric Wasylishen <ewasylishen@gmail.com>
|
||||||
|
|
||||||
|
* Source/NSTextView.m
|
||||||
|
(-_scheduleTextCheckingInVisibleRectIfNeeded): Check for
|
||||||
|
nil before sending -rectValue to avoid crash
|
||||||
|
|
||||||
2011-11-28 Gregory Casamento <greg.casamento@gmail.com>
|
2011-11-28 Gregory Casamento <greg.casamento@gmail.com>
|
||||||
|
|
||||||
* Source/NSTextView.m (-buildUpTextNetwork:):
|
* Source/NSTextView.m (-buildUpTextNetwork:):
|
||||||
|
|
|
@ -6201,7 +6201,8 @@ or add guards
|
||||||
const NSRect visibleRect = [self visibleRect];
|
const NSRect visibleRect = [self visibleRect];
|
||||||
if (!NSEqualRects(visibleRect, _lastCheckedRect))
|
if (!NSEqualRects(visibleRect, _lastCheckedRect))
|
||||||
{
|
{
|
||||||
if (NSEqualRects(visibleRect, [[_textCheckingTimer userInfo] rectValue]))
|
if (nil != _textCheckingTimer
|
||||||
|
&& NSEqualRects(visibleRect, [[_textCheckingTimer userInfo] rectValue]))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue