Formatting.

This commit is contained in:
Camilla Berglund 2013-12-09 00:27:36 +01:00
parent 50c694fab4
commit 61ccb034d0

View File

@ -1178,10 +1178,8 @@ void _glfwPlatformWaitEvents(void)
{ {
if (!XPending(_glfw.x11.display)) if (!XPending(_glfw.x11.display))
{ {
int fd;
fd_set fds; fd_set fds;
const int fd = ConnectionNumber(_glfw.x11.display);
fd = ConnectionNumber(_glfw.x11.display);
FD_ZERO(&fds); FD_ZERO(&fds);
FD_SET(fd, &fds); FD_SET(fd, &fds);