diff options
Diffstat (limited to 'externals/grill/delsplit')
-rwxr-xr-x | externals/grill/delsplit/delsplit.mcp (renamed from externals/grill/delsplit/delsplit.cw) | bin | 141089 -> 141165 bytes | |||
-rwxr-xr-x | externals/grill/delsplit/main.cpp | 6 |
2 files changed, 3 insertions, 3 deletions
diff --git a/externals/grill/delsplit/delsplit.cw b/externals/grill/delsplit/delsplit.mcp Binary files differindex e6bc0900..04bb39d4 100755 --- a/externals/grill/delsplit/delsplit.cw +++ b/externals/grill/delsplit/delsplit.mcp diff --git a/externals/grill/delsplit/main.cpp b/externals/grill/delsplit/main.cpp index 3c718afb..82e490a6 100755 --- a/externals/grill/delsplit/main.cpp +++ b/externals/grill/delsplit/main.cpp @@ -87,7 +87,7 @@ delsplit::delsplit(int argc,const t_atom *argv): static int chknum(const char *s) { int num = 0,pts = 0; - for(const char *si = s; *s; ++s) { + for(; *s; ++s) { if(*s == '.') ++pts; else if(isdigit(*s)) ++num; else { num = 0; break; } @@ -152,7 +152,7 @@ void delsplit::m_any(const t_symbol *sym,int argc,const t_atom *argv) else if(IsString(argv[i])) strcpy(str,GetString(argv[i])); else if(CanbeFloat(argv[i])) - sprintf(str,"%e",GetAFloat(argv[i])); + STD::sprintf(str,"%e",GetAFloat(argv[i])); else str[0] = 0; @@ -170,5 +170,5 @@ void delsplit::m_any(const t_symbol *sym,int argc,const t_atom *argv) } } - ToOutList(0,cnt,lst); + ToSysList(0,cnt,lst); } |