aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/pool
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-01-03 05:02:34 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-01-03 05:02:34 +0000
commit79f4bd850b1a138306fc6983912513911dfbb02b (patch)
treed154a58bf8c760eb38ce09853f1b93eaaeba99ba /externals/grill/pool
parent08f2f57195ca1563150ddde3039274a6f26e8a31 (diff)
update for flext build system
enhanced and optimized atom parsing updated build system svn path=/trunk/; revision=2449
Diffstat (limited to 'externals/grill/pool')
-rw-r--r--externals/grill/pool/package.txt5
-rw-r--r--externals/grill/pool/source/pool.cpp2
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)