Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15367
Modified Files: Tag: branch-v0-39-2-extended g_rtext.c 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: g_rtext.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/g_rtext.c,v retrieving revision 1.5.2.2 retrieving revision 1.5.2.3 diff -C2 -d -r1.5.2.2 -r1.5.2.3 *** g_rtext.c 29 Jan 2007 18:32:53 -0000 1.5.2.2 --- g_rtext.c 20 Apr 2007 04:07:53 -0000 1.5.2.3 *************** *** 442,446 **** /* at guenter's suggestion, this gets european characters working */ /* if (n == '\n' || isprint(n)) */ ! if (n == '\n' || n > 31) { newsize = x->x_bufsize+1; --- 442,446 ---- /* 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;