summaryrefslogtreecommitdiff
path: root/src/glut
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-03-01 20:43:30 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-03-01 20:43:30 +0000
commit3bc58af79d88d1822a2039af32a0a9604aa6710d (patch)
treebe3626cd00375af4b8d4bcfc5dc83b61d5d9c9e4 /src/glut
parent15da01e16b73d061a6f20e0664e0c03cc548b0e6 (diff)
minor reformatting
Diffstat (limited to 'src/glut')
-rw-r--r--src/glut/glx/glut_event.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/glut/glx/glut_event.c b/src/glut/glx/glut_event.c
index d10cc159b61..6d928af2ea3 100644
--- a/src/glut/glx/glut_event.c
+++ b/src/glut/glx/glut_event.c
@@ -302,17 +302,16 @@ interruptibleXNextEvent(Display * dpy, XEvent * event)
return 1;
}
#ifndef VMS
- /* the combination ConectionNumber-select is buggy on VMS. Sometimes it
- * fails. This part of the code hangs the program on VMS7.2. But even
- * without it the program seems to run correctly.
- * Note that this is a bug in the VMS/DECWindows run-time-libraries.
- * Compaq engeneering does not want or is not able to make a fix.
- * (last sentence is a quotation from Compaq when I reported the
- * problem January 2000) */
- FD_ZERO(&fds);
+ /* the combination ConectionNumber-select is buggy on VMS. Sometimes it
+ * fails. This part of the code hangs the program on VMS7.2. But even
+ * without it the program seems to run correctly.
+ * Note that this is a bug in the VMS/DECWindows run-time-libraries.
+ * Compaq engeneering does not want or is not able to make a fix.
+ * (last sentence is a quotation from Compaq when I reported the
+ * problem January 2000) */
+ FD_ZERO(&fds);
FD_SET(__glutConnectionFD, &fds);
- rc = select(__glutConnectionFD + 1, &fds,
- NULL, NULL, NULL);
+ rc = select(__glutConnectionFD + 1, &fds, NULL, NULL, NULL);
if (rc < 0) {
if (errno == EINTR) {
return 0;