From 47786f06588886651bb6400269fe5c310313c29d Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Tue, 19 Aug 2003 02:37:30 +0000 Subject: "" svn path=/trunk/; revision=884 --- externals/grill/flext/flext.cw | Bin 789029 -> 789029 bytes externals/grill/flext/source/flatom_pr.cpp | 4 +++- externals/grill/flext/source/flbase.cpp | 2 +- externals/grill/flext/source/flsupport.cpp | 2 +- externals/grill/vasp/vasp.cw | Bin 356360 -> 360200 bytes externals/grill/xsample/xsample.cw | Bin 279503 -> 279503 bytes 6 files changed, 5 insertions(+), 3 deletions(-) (limited to 'externals/grill') diff --git a/externals/grill/flext/flext.cw b/externals/grill/flext/flext.cw index 25f4a3fd..5d64cb85 100644 Binary files a/externals/grill/flext/flext.cw and b/externals/grill/flext/flext.cw differ diff --git a/externals/grill/flext/source/flatom_pr.cpp b/externals/grill/flext/source/flatom_pr.cpp index e90892e8..20ae6cad 100644 --- a/externals/grill/flext/source/flatom_pr.cpp +++ b/externals/grill/flext/source/flatom_pr.cpp @@ -33,13 +33,15 @@ bool flext::PrintAtom(const t_atom &a,char *buf,int bufsz) } else if(IsPointer(a)) { STD::sprintf(buf,"%p",GetPointer(a)); - } + } +#if FLEXT_SYS == FLEXT_SYS_PD else if(a.a_type == A_DOLLAR) { STD::sprintf(buf,"$%d",a.a_w.w_index); } else if(a.a_type == A_DOLLSYM) { STD::sprintf(buf,"$%s",GetString(a)); } +#endif else { ERRINTERNAL(); ok = false; diff --git a/externals/grill/flext/source/flbase.cpp b/externals/grill/flext/source/flbase.cpp index bbd4cc1c..0619b796 100644 --- a/externals/grill/flext/source/flbase.cpp +++ b/externals/grill/flext/source/flbase.cpp @@ -97,9 +97,9 @@ void flext_obj::DefineHelp(t_classid c,const char *ref,const char *dir,bool addt const t_symbol *flext_obj::GetParamSym(const t_symbol *sym,t_canvas *c) { +#if FLEXT_SYS == FLEXT_SYS_PD if(!c) c = canvas_getcurrent(); -#if FLEXT_SYS == FLEXT_SYS_PD const char *s = GetString(sym); if((s[0] == '$' || s[0] == '#') && isdigit(s[1])) { // patcher parameter detected... get value! diff --git a/externals/grill/flext/source/flsupport.cpp b/externals/grill/flext/source/flsupport.cpp index eca73d90..ab0d871e 100644 --- a/externals/grill/flext/source/flsupport.cpp +++ b/externals/grill/flext/source/flsupport.cpp @@ -214,7 +214,7 @@ void flext::error(const char *fmt,...) va_start(ap, fmt); #if FLEXT_SYS == FLEXT_SYS_MAX char buf[1024]; // \TODO this is quite unsafe..... - sprintf(buf,"error: "); + STD::sprintf(buf,"error: "); vsprintf(buf+7, fmt, ap); ::post(buf); #else diff --git a/externals/grill/vasp/vasp.cw b/externals/grill/vasp/vasp.cw index 5d268ff4..3f8a7f04 100644 Binary files a/externals/grill/vasp/vasp.cw and b/externals/grill/vasp/vasp.cw differ diff --git a/externals/grill/xsample/xsample.cw b/externals/grill/xsample/xsample.cw index 2a4c0938..0a6c5c08 100755 Binary files a/externals/grill/xsample/xsample.cw and b/externals/grill/xsample/xsample.cw differ -- cgit v1.2.1