aboutsummaryrefslogtreecommitdiff
path: root/str
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2007-11-26 17:14:11 +0000
committerMartin Peach <mrpeach@users.sourceforge.net>2007-11-26 17:14:11 +0000
commit1495d42a69dfdf567e17ff942efb3632ab3b91c4 (patch)
tree96054ff6a564b119783c2388af55a3f8a7d2b9ad /str
parentc3de5841809bad8eabeb9d08f6bb73184b0ee2dd (diff)
Changed atom_blob back to atom_string
svn path=/trunk/externals/mrpeach/; revision=9041
Diffstat (limited to 'str')
-rwxr-xr-xstr/str.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/str/str.c b/str/str.c
index 61da28a..c5c564f 100755
--- a/str/str.c
+++ b/str/str.c
@@ -309,7 +309,7 @@ static void str_symbol_to_buf(t_str *x, t_atom *a)
/* Convert symbol to string in x->x_buf.s_data at offset x->x_buf_end,
* increment x->x_buf_end by the number of chars added to x->x_buf.s_data*/
{ char *cP = (char *)x->x_buf.s_data + x->x_buf_end;
- atom_blob(a, cP, x->x_buf.s_length-x->x_buf_end);
+ atom_string(a, cP, x->x_buf.s_length-x->x_buf_end);
x->x_buf_end += strlen(cP);
}
@@ -682,7 +682,7 @@ static void *str_new(t_symbol *s, int argc, t_atom *argv)
next = 0; /* index of next argument */
if (argv[0].a_type == A_SYMBOL)
{ /* the first argument may be a selector */
- atom_blob(&argv[0], (char *)x->x_buf.s_data, MAXPDSTRING);
+ atom_string(&argv[0], (char *)x->x_buf.s_data, MAXPDSTRING);
for (i = 0; i < n_functions; ++i)
{
if (strcmp((char *)x->x_buf.s_data, str_function_names[i]) == 0)