aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/source')
-rw-r--r--externals/grill/flext/source/flbase.cpp3
-rw-r--r--externals/grill/flext/source/flsupport.cpp1
2 files changed, 2 insertions, 2 deletions
diff --git a/externals/grill/flext/source/flbase.cpp b/externals/grill/flext/source/flbase.cpp
index 357df17e..2fd25e8e 100644
--- a/externals/grill/flext/source/flbase.cpp
+++ b/externals/grill/flext/source/flbase.cpp
@@ -85,10 +85,11 @@ void flext_obj::DefineHelp(t_classid c,const char *ref,const char *dir,bool addt
strcpy(tmp,dir);
strcat(tmp,"/");
strcat(tmp,ref);
- if(addtilde) strcat(tmp,"~");
}
else
strcpy(tmp,ref);
+ if(addtilde) strcat(tmp,"~");
+
::class_sethelpsymbol(getClass(c),gensym(const_cast<char *>(tmp)));
#else
// no solution for Max/MSP yet
diff --git a/externals/grill/flext/source/flsupport.cpp b/externals/grill/flext/source/flsupport.cpp
index 775adb74..fad8db16 100644
--- a/externals/grill/flext/source/flsupport.cpp
+++ b/externals/grill/flext/source/flsupport.cpp
@@ -117,7 +117,6 @@ void flext::Setup()
#if FLEXT_SYS == FLEXT_SYS_PD && defined(FLEXT_THREADED) && defined(FLEXT_PDLOCK)
-#error
#define SYSLOCK() sys_lock()
#define SYSUNLOCK() sys_unlock()
#else