summaryrefslogtreecommitdiff
path: root/beos
diff options
context:
space:
mode:
authorFran├žois Revol <revol@free.fr>2014-07-02 03:43:13 +0200
committerFran├žois Revol <revol@free.fr>2014-07-02 03:43:13 +0200
commitc574780d29dde43fbf8fdfc2e6465e98ff0f3e10 (patch)
tree40453df6b7aa75293a54c17fa6a1c0e8c8d80426 /beos
parent36ba460fe4edd25c6bfd5daae8b25a7d2dc23d68 (diff)
downloadnetsurf-c574780d29dde43fbf8fdfc2e6465e98ff0f3e10.tar.gz
netsurf-c574780d29dde43fbf8fdfc2e6465e98ff0f3e10.tar.bz2
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.
Diffstat (limited to 'beos')
-rw-r--r--beos/gui.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/beos/gui.cpp b/beos/gui.cpp
index 9ecfbd0ff..d6bfc1e50 100644
--- a/beos/gui.cpp
+++ b/beos/gui.cpp
@@ -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