Commit ca779020 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Oups, this is a C++ file

parent f49cbfc0
...@@ -147,10 +147,10 @@ void X11TimerLoop::waitNextTimer() ...@@ -147,10 +147,10 @@ void X11TimerLoop::waitNextTimer()
bool X11TimerLoop::sleep( int delay ) bool X11TimerLoop::sleep( int delay )
{ {
struct pollfd ufd = { struct pollfd ufd;
.fd = m_connectionNumber, memset( &ufd, 0, sizeof (ufd) );
.events = POLLIN, ufd.fd = m_connectionNumber;
}; ufd.events = POLLIN;
// Wait for an X11 event, or timeout // Wait for an X11 event, or timeout
// TODO: use VLC object waitpipe? // TODO: use VLC object waitpipe?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment