From 8255bf1d63bcd9672126d7f2d7f8aca4c813987b Mon Sep 17 00:00:00 2001 From: Martin Peach Date: Tue, 4 May 2010 04:12:07 +0000 Subject: Change %d to %f in input error message svn path=/trunk/externals/mrpeach/; revision=13491 --- slipenc/slipenc.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'slipenc') 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) -- cgit v1.2.1