diff options
author | B. Bogart <bbogart@users.sourceforge.net> | 2005-12-11 17:06:58 +0000 |
---|---|---|
committer | B. Bogart <bbogart@users.sourceforge.net> | 2005-12-11 17:06:58 +0000 |
commit | e4a8418577b5ff9cd0eccd594b7de6978ea9e853 (patch) | |
tree | 65ec35cd231d9887639687352e6d3516c9c81418 /entry | |
parent | d999c1701908e241dbaa9d335680f348410144e5 (diff) |
Commented out Johannes Z's "string map" command to escape special characters, since it was broken on all platforms.
svn path=/trunk/externals/bbogart/; revision=4187
Diffstat (limited to 'entry')
-rw-r--r-- | entry/entry.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/entry/entry.c b/entry/entry.c index dd1066b..2cbc48b 100644 --- a/entry/entry.c +++ b/entry/entry.c @@ -320,7 +320,10 @@ static void entry_output(t_entry* x, t_symbol *s, int argc, t_atom *argv) /* Pass the contents of the text widget onto the entry_output fuction above */ 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); +/* 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); } @@ -432,7 +435,7 @@ void entry_setup(void) { class_setsavefn(entry_class,&entry_save); #endif - post("Text v0.1 Ben Bogart.\nCVS: $Revision: 1.4 $ $Date: 2005-08-23 12:24:16 $"); + post("Text v0.1 Ben Bogart.\nCVS: $Revision: 1.5 $ $Date: 2005-12-11 17:06:58 $"); } |