From: curt Date: Sun, 21 Nov 2004 21:46:02 +0000 (+0000) Subject: Fix a dumb bug. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=055e969e7a9b19792945d12f8850ba4b55cba85d;p=simgear.git Fix a dumb bug. --- diff --git a/simgear/sound/soundmgr_openal.cxx b/simgear/sound/soundmgr_openal.cxx index b525b31f..e9e2dfbc 100644 --- a/simgear/sound/soundmgr_openal.cxx +++ b/simgear/sound/soundmgr_openal.cxx @@ -47,7 +47,7 @@ inline int (isnan)(double r) { return isnan(r); } #endif #if defined (__FreeBSD__) -inline int isnan(double r) { return !(r < 0 || r > 0); } +inline int isnan(double r) { return !(r <= 0 || r >= 0); } #endif #include STL_IOSTREAM