mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 18:40:38 +00:00
Handle nil view passed to _checkTrackingRectangles:forEvent:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30233 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7a815aa384
commit
a3603ff386
2 changed files with 9 additions and 0 deletions
|
@ -3330,6 +3330,8 @@ resetCursorRectsForView(NSView *theView)
|
|||
- (void) _checkTrackingRectangles: (NSView*)theView
|
||||
forEvent: (NSEvent*)theEvent
|
||||
{
|
||||
if (theView == nil)
|
||||
return;
|
||||
if (theView->_rFlags.has_trkrects)
|
||||
{
|
||||
NSArray *tr = theView->_tracking_rects;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue