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

@ -897,7 +897,7 @@ static NSNotificationCenter *nc;
}
e = [NSApp nextEventMatchingMask: event_mask
untilDate: nil
untilDate: [NSDate distantFuture]
inMode: NSEventTrackingRunLoopMode
dequeue: YES];
if ([e type] == NSLeftMouseUp)