aboutsummaryrefslogtreecommitdiff
path: root/externals/grill
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2007-02-10 03:17:44 +0000
committerThomas Grill <xovo@users.sourceforge.net>2007-02-10 03:17:44 +0000
commit7f72dc4bdc62c937e48751056153bea2c61494bb (patch)
tree125b1f55592f5d58e306d1bf8d0fd9c4d94f9924 /externals/grill
parentf1426746f28f101e73dbd282c8283cbf039c74dd (diff)
small fix with help file name
fix for Max/MSP svn path=/trunk/; revision=7413
Diffstat (limited to 'externals/grill')
-rw-r--r--externals/grill/flext/changes.txt2
-rwxr-xr-xexternals/grill/flext/source/fllib.cpp8
2 files changed, 7 insertions, 3 deletions
diff --git a/externals/grill/flext/changes.txt b/externals/grill/flext/changes.txt
index a4d01438..fef5d86c 100644
--- a/externals/grill/flext/changes.txt
+++ b/externals/grill/flext/changes.txt
@@ -1,6 +1,6 @@
flext - C++ layer for Max/MSP and pd (pure data) externals
-Copyright (c) 2001-2006 Thomas Grill (gr@grrrr.org)
+Copyright (c) 2001-2007 Thomas Grill (gr@grrrr.org)
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.
diff --git a/externals/grill/flext/source/fllib.cpp b/externals/grill/flext/source/fllib.cpp
index 80a8aae4..3b196f55 100755
--- a/externals/grill/flext/source/fllib.cpp
+++ b/externals/grill/flext/source/fllib.cpp
@@ -57,8 +57,12 @@ static const char *extract(const char *name,int ix = 0)
while(*t == ALIASSLASH && t > tmp) --t;
*t = 0;
#endif
- if(ix < 0)
- return del+1;
+ if(ix < 0) {
+ // eat white space in front of help definition
+ ++del;
+ while(*del && isspace(*del)) ++del;
+ return del;
+ }
strncpy(tmp,name,del-name);
tmp[del-name] = 0;