beos: drop @todo

From the select(2) linux manpage:
"nfds is the highest-numbered file descriptor in any of the three sets, plus 1."

As sEventPipe[0] is definitely a descriptor, it must be 1 more here.
This commit is contained in:
François Revol 2014-07-02 03:43:13 +02:00
parent 36ba460fe4
commit c574780d29

View File

@ -731,7 +731,6 @@ static void gui_poll(bool active)
// our own event pipe
FD_SET(sEventPipe[0], &read_fd_set);
/** @todo Check if this max_fd should have + 1 */
max_fd = MAX(max_fd, sEventPipe[0] + 1);
// If there are pending events elsewhere, we should not be blocking