[PD-cvs] packages/patches special_character_support.patch,1.1,1.2
Hans-Christoph Steiner
eighthave at users.sourceforge.net
Fri Apr 20 06:08:22 CEST 2007
Update of /cvsroot/pure-data/packages/patches
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15749
Modified Files:
special_character_support.patch
Log Message:
fixed bug 1650754: the DEL key was deleting a char, then added back a mystery char; the char adding code needs to ignore 127, i.e. DEL
Index: special_character_support.patch
===================================================================
RCS file: /cvsroot/pure-data/packages/patches/special_character_support.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** special_character_support.patch 16 Dec 2005 18:38:11 -0000 1.1
--- special_character_support.patch 20 Apr 2007 04:08:19 -0000 1.2
***************
*** 13,17 ****
+/* at guenter's suggestion, this gets european characters working */
+/* if (n == '\n' || isprint(n)) */
! + if (n == '\n' || n > 31)
{
newsize = x->x_bufsize+1;
--- 13,17 ----
+/* at guenter's suggestion, this gets european characters working */
+/* if (n == '\n' || isprint(n)) */
! + if ((n == '\n' || n > 31) && n != 127)
{
newsize = x->x_bufsize+1;
More information about the Pd-cvs
mailing list