From 79f4bd850b1a138306fc6983912513911dfbb02b Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Mon, 3 Jan 2005 05:02:34 +0000 Subject: update for flext build system enhanced and optimized atom parsing updated build system svn path=/trunk/; revision=2449 --- externals/grill/pool/package.txt | 5 +++++ externals/grill/pool/source/pool.cpp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'externals') 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) -- cgit v1.2.1