[PD-cvs] externals/iem/comport/comport comport.c,1.4,1.5
Winfried Ritsch
ritsch at users.sourceforge.net
Mon Nov 21 13:20:46 CET 2005
Update of /cvsroot/pure-data/externals/iem/comport/comport
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2939
Modified Files:
comport.c
Log Message:
bracket in #ifdef wrong
variable declaration on wrong position
Index: comport.c
===================================================================
RCS file: /cvsroot/pure-data/externals/iem/comport/comport/comport.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** comport.c 7 Nov 2005 10:39:29 -0000 1.4
--- comport.c 21 Nov 2005 12:20:44 -0000 1.5
***************
*** 711,716 ****
}
}
- }
*/
#else
{
--- 711,716 ----
}
}
*/
+ }
#else
{
***************
*** 739,743 ****
}
! static void comport_float(t_comport *x,t_float f)
{
unsigned char chr = ((int) f) & 0xFF; /* brutal conv */
--- 739,743 ----
}
! static void comport_float(t_comport *x, t_float f)
{
unsigned char chr = ((int) f) & 0xFF; /* brutal conv */
***************
*** 930,936 ****
{
static char buf[256];
while(argc--) {
atom_string(argv++, buf, 255);
- char *pch = buf;
while(*pch != 0) {
write_serial(x, *pch++);
--- 930,937 ----
{
static char buf[256];
+ char *pch = buf;
+
while(argc--) {
atom_string(argv++, buf, 255);
while(*pch != 0) {
write_serial(x, *pch++);
More information about the Pd-cvs
mailing list