From b00be027fe91e9ae5a19f53b6c1fd0245b4d4bae Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Wed, 15 Jan 2003 04:37:19 +0000 Subject: "" svn path=/trunk/; revision=339 --- externals/grill/flext/source/flbuf.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'externals/grill/flext/source/flbuf.cpp') diff --git a/externals/grill/flext/source/flbuf.cpp b/externals/grill/flext/source/flbuf.cpp index 7a2a21b6..4b4da40a 100644 --- a/externals/grill/flext/source/flbuf.cpp +++ b/externals/grill/flext/source/flbuf.cpp @@ -14,6 +14,8 @@ WARRANTIES, see the file, "license.txt," in this distribution. #include "flext.h" +#if FLEXT_SYS != FLEXT_SYS_JMAX + #if FLEXT_SYS == FLEXT_SYS_MAX #include "flmspbuffer.h" // include inofficial buffer.h #endif @@ -58,7 +60,7 @@ int flext::buffer::Set(const t_symbol *s,bool nameonly) chns = 0; } - if(s && *s->s_name) sym = s; + if(s && *GetString(s)) sym = s; if(!sym) { if(valid) ret = -1; @@ -110,7 +112,7 @@ int flext::buffer::Set(const t_symbol *s,bool nameonly) if(valid) ret = -1; } #else -#error +#error not implemented #endif } @@ -152,7 +154,7 @@ bool flext::buffer::Update() return false; } #else -#error +#error not implemented #endif } @@ -263,3 +265,5 @@ void flext::buffer::cb_tick(buffer *b) } #endif + +#endif // Jmax -- cgit v1.2.1