[PD-cvs] externals/bbogart/entry entry.c,1.4,1.5

B. Bogart bbogart at users.sourceforge.net
Sun Dec 11 18:07:01 CET 2005


Update of /cvsroot/pure-data/externals/bbogart/entry
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27618

Modified Files:
	entry.c 
Log Message:
Commented out Johannes Z's "string map" command to escape special characters, since it was broken on all platforms.


Index: entry.c
===================================================================
RCS file: /cvsroot/pure-data/externals/bbogart/entry/entry.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** entry.c	23 Aug 2005 12:24:16 -0000	1.4
--- entry.c	11 Dec 2005 17:06:58 -0000	1.5
***************
*** 321,325 ****
  static void entry_bang_output(t_entry* x)
  {
!   sys_vgui("pd [concat entry%p output [string map {\",\" \"\\\\,\" \";\" \"\\\\;} [.x%x.c.s%x get 0.0 end]]\" \\;]\n", x, x->x_glist, x);
  
    sys_vgui("bind .x%x.c.s%x <Leave> {focus [winfo parent .x%x.c.s%x]} \n", x->x_glist, x, x->x_glist, x);
--- 321,328 ----
  static void entry_bang_output(t_entry* x)
  {
! /* This code is not functional, all OS's return "unmatches quote in string" removed until someone has time to look more closely.
!   sys_vgui("pd [concat entry%p output [string map {\",\" \"\\\\,\" \";\" \"\\\\;} [.x%x.c.s%x get 0.0 end]]\" \\;]\n", x, x->x_glist, x); */
! 
!   sys_vgui("pd [concat entry%p output [.x%x.c.s%x get 0.0 end] \\;]\n", x, x->x_glist, x);
  
    sys_vgui("bind .x%x.c.s%x <Leave> {focus [winfo parent .x%x.c.s%x]} \n", x->x_glist, x, x->x_glist, x);





More information about the Pd-cvs mailing list