aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flbase.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-11-13 03:30:49 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-11-13 03:30:49 +0000
commit45464826849ab68693a3ed21c2d50ede00c50e67 (patch)
treee4149e9e591db1ca3fb2c0416fa5f55c4908a6fd /externals/grill/flext/source/flbase.cpp
parent6e17759e69d5d51bafebc4e5e44e1ee5dbaf58fe (diff)
fix for showing attributes on select (and recreate the object on edit)
svn path=/trunk/; revision=2265
Diffstat (limited to 'externals/grill/flext/source/flbase.cpp')
-rw-r--r--externals/grill/flext/source/flbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/externals/grill/flext/source/flbase.cpp b/externals/grill/flext/source/flbase.cpp
index 12e13fdf..032f869d 100644
--- a/externals/grill/flext/source/flbase.cpp
+++ b/externals/grill/flext/source/flbase.cpp
@@ -98,7 +98,7 @@ void flext_obj::DefineHelp(t_classid c,const char *ref,const char *dir,bool addt
bool flext_obj::GetParamSym(t_atom &dst,const t_symbol *sym,t_canvas *c)
{
-#if FLEXT_SYS == FLEXT_SYS_PD
+#if FLEXT_SYS == FLEXT_SYS_PD && defined(PD_MINOR_VERSION) && PD_MINOR_VERSION >= 37
if(!c) c = canvas_getcurrent();
const char *s = GetString(sym);