Fixed code style

Conflicts:
	src/lib/arch/win32/ArchPluginWindows.cpp
This commit is contained in:
Xinyu Hou
2015-07-14 15:11:12 +01:00
committed by Jerry (Xinyu Hou)
parent 88214a0d3c
commit 5a9cbc97e3
7 changed files with 10 additions and 10 deletions

View File

@@ -162,7 +162,7 @@ XWindowsEventQueueBuffer::waitForEvent(double dtimeout)
// we want to give the cpu a chance s owe up this to 25ms
#define TIMEOUT_DELAY 25
while( ((dtimeout < 0.0) || (remaining > 0)) && QLength(m_display)==0 && retval==0){
while (((dtimeout < 0.0) || (remaining > 0)) && QLength(m_display)==0 && retval==0){
#if HAVE_POLL
retval = poll(pfds, 2, TIMEOUT_DELAY); //16ms = 60hz, but we make it > to play nicely with the cpu
if (pfds[1].revents & POLLIN) {