fox: fix build with clang >=4 and possibly other versions

This commit is contained in:
Daiderd Jordan
2017-03-22 20:08:56 +01:00
parent b2ba188656
commit be1c8c4d63
2 changed files with 26 additions and 14 deletions

View File

@@ -0,0 +1,13 @@
diff --git a/src/FXReactor.cpp b/src/FXReactor.cpp
index 1ecdb45..9058a30 100644
--- a/src/FXReactor.cpp
+++ b/src/FXReactor.cpp
@@ -452,7 +452,7 @@ FXint FXReactor::processActiveHandles(FXTime block,FXuint flags){
}
// Normal case
- if(0<=hand){
+ if(0==hand){
// Any handles active?
if(0<nhand){