hi gem-devs,
accessing the symbol directly makes sure that atom_string doesn't mess with the symbols ... i think it's the cleanest way to display symbols containing commas:
--- Base/TextBase.cpp 11 Sep 2005 16:02:23 -0000 1.17 +++ Base/TextBase.cpp 20 Sep 2005 22:54:52 -0000 @@ -336,15 +336,14 @@ if ( argc < 1 ) {return; }
string line = ""; - char newtext[MAXPDSTRING]; - + int i=0;
// convert the atom-list into 1 string for (i = 0; i < argc; ++i) { - atom_string(&argv[i], newtext, MAXPDSTRING); - line += newtext; + string newtext = atom_getsymbol(&argv[i])->s_name; + line += newtext; if(argc-1>i)line += " "; }
would be great, if you could commit the patch ...
thanks ... tim