aboutsummaryrefslogtreecommitdiff
path: root/pd/src/m_atom.c
diff options
context:
space:
mode:
Diffstat (limited to 'pd/src/m_atom.c')
-rw-r--r--pd/src/m_atom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pd/src/m_atom.c b/pd/src/m_atom.c
index f8859c6f..16df0e35 100644
--- a/pd/src/m_atom.c
+++ b/pd/src/m_atom.c
@@ -79,7 +79,7 @@ void atom_string(t_atom *a, char *buf, unsigned int bufsize)
sprintf(tbuf, "%g", a->a_w.w_float);
if (strlen(tbuf) < bufsize-1) strcpy(buf, tbuf);
else if (a->a_w.w_float < 0) strcpy(buf, "-");
- else strcat(buf, "+");
+ else strcpy(buf, "+");
break;
case A_SYMBOL:
{