aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/delsplit
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/delsplit')
-rwxr-xr-xexternals/grill/delsplit/delsplit.mcp (renamed from externals/grill/delsplit/delsplit.cw)bin141089 -> 141165 bytes
-rwxr-xr-xexternals/grill/delsplit/main.cpp6
2 files changed, 3 insertions, 3 deletions
diff --git a/externals/grill/delsplit/delsplit.cw b/externals/grill/delsplit/delsplit.mcp
index e6bc0900..04bb39d4 100755
--- a/externals/grill/delsplit/delsplit.cw
+++ b/externals/grill/delsplit/delsplit.mcp
Binary files differ
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);
}