diff options
Diffstat (limited to 'externals')
-rw-r--r-- | externals/grill/pool/package.txt | 5 | ||||
-rw-r--r-- | externals/grill/pool/source/pool.cpp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/externals/grill/pool/package.txt b/externals/grill/pool/package.txt index 1fca6a4f..a873f5c9 100644 --- a/externals/grill/pool/package.txt +++ b/externals/grill/pool/package.txt @@ -1,6 +1,11 @@ NAME=pool
+BUILDCLASS=ext
+BUILDMODE=release
+BUILDTYPE=single
+
SRCDIR=source
+PRECOMPILE=pool.h
SRCS= main.cpp data.cpp pool.cpp
HDRS= pool.h
diff --git a/externals/grill/pool/source/pool.cpp b/externals/grill/pool/source/pool.cpp index d554a9b6..39ec568d 100644 --- a/externals/grill/pool/source/pool.cpp +++ b/externals/grill/pool/source/pool.cpp @@ -484,7 +484,7 @@ static C *ReadAtom(C *c,A *a) float fres; // first try float - if(sscanf(m,"%f",&fres)) { + if(sscanf(m,"%f",&fres) == 1) { if(a) { int ires = (int)fres; // try a cast if(fres == ires) |