Replace nil with [NSDate distantFuture] in calls to nextEventMatchingMask:...dequeue:.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28025 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2009-03-02 16:26:23 +00:00
parent ef2a8fdcd6
commit 2395ea184f
11 changed files with 28 additions and 14 deletions

View file

@ -3237,7 +3237,7 @@ resetCursorRectsForView(NSView *theView)
- (NSEvent*) nextEventMatchingMask: (unsigned int)mask
{
return [NSApp nextEventMatchingMask: mask
untilDate: nil
untilDate: [NSDate distantFuture]
inMode: NSEventTrackingRunLoopMode
dequeue: YES];
}