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:
dpsimons 2010-04-24 17:21:22 +00:00
parent 7a815aa384
commit a3603ff386
2 changed files with 9 additions and 0 deletions

View file

@ -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;