aboutsummaryrefslogtreecommitdiff
path: root/slipenc
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2010-05-04 04:12:07 +0000
committerMartin Peach <mrpeach@users.sourceforge.net>2010-05-04 04:12:07 +0000
commit8255bf1d63bcd9672126d7f2d7f8aca4c813987b (patch)
tree53719dc83f2a5f97f4315591784e43df61156ee3 /slipenc
parent93787326a850b73de94f2a0ab9c70ddfae5c7bb5 (diff)
Change %d to %f in input error message
svn path=/trunk/externals/mrpeach/; revision=13491
Diffstat (limited to 'slipenc')
-rw-r--r--slipenc/slipenc.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/slipenc/slipenc.c b/slipenc/slipenc.c
index fc2747b..814b5cd 100644
--- a/slipenc/slipenc.c
+++ b/slipenc/slipenc.c
@@ -38,15 +38,15 @@ PROTOCOL
#include "m_pd.h"
/* -------------------------- slipenc -------------------------- */
-#ifndef _SLIPCODES
-/* SLIP special character codes */
-#define SLIP_END 0300 /* indicates end of packet */
-#define SLIP_ESC 0333 /* indicates byte stuffing */
-#define SLIP_ESC_END 0334 /* SLIP_ESC SLIP_ESC_END means SLIP_END data byte */
-#define SLIP_ESC_ESC 0335 /* SLIP_ESC SLIP_ESC_ESC means SLIP_ESC data byte */
-#define MAX_SLIP 1006 /* maximum SLIP packet size */
-#define _SLIPCODES
-#endif // _SLIPCODES
+#ifndef _SLIPCODES
+/* SLIP special character codes */
+#define SLIP_END 0300 /* indicates end of packet */
+#define SLIP_ESC 0333 /* indicates byte stuffing */
+#define SLIP_ESC_END 0334 /* SLIP_ESC SLIP_ESC_END means SLIP_END data byte */
+#define SLIP_ESC_ESC 0335 /* SLIP_ESC SLIP_ESC_ESC means SLIP_ESC data byte */
+#define MAX_SLIP 1006 /* maximum SLIP packet size */
+#define _SLIPCODES
+#endif // _SLIPCODES
static t_class *slipenc_class;
@@ -100,7 +100,7 @@ static void slipenc_list(t_slipenc *x, t_symbol *s, int ac, t_atom *av)
if (c != f)
{
/* abort, bad input character */
- pd_error (x, "slipenc: input %d out of range [0..255]", f);
+ pd_error (x, "slipenc: input %f out of range [0..255]", f);
return;
}
if(SLIP_END == c)