hi Miller,
two minor fixes, one in g_text.c (filtering out modifiers)
@@ -537,7 +537,7 @@ int len = strlen(x->a_buf); t_atom at; char sbuf[ATOMBUFSIZE + 4]; - if (c == ' ') return; + if (c == ' ' || c == 0) return;
another in g_bang.c:
@@ -151,14 +151,12 @@
if(x->x_gui.x_fsf.x_selected) { - pd_bind(&x->x_gui.x_obj.ob_pd, iemgui_key_sym); sys_vgui(".x%x.c itemconfigure %xBASE -outline #%6.6x\n", canvas, x, IEM_GUI_COLOR_SELECTED); sys_vgui(".x%x.c itemconfigure %xBUT -outline #%6.6x\n", canvas, x, IEM_GUI_COLOR_SELECTED); sys_vgui(".x%x.c itemconfigure %xLABEL -fill #%6.6x\n", canvas, x, IEM_GUI_COLOR_SELECTED); } else { - pd_unbind(&x->x_gui.x_obj.ob_pd, iemgui_key_sym);
@@ -538,8 +536,6 @@
static void bng_ff(t_bng *x) { - if(x->x_gui.x_fsf.x_selected) - pd_unbind(&x->x_gui.x_obj.ob_pd, iemgui_key_sym);
@@ -574,8 +570,6 @@ class_addmethod(bng_class, (t_method)bng_label_pos, gensym("label_pos"), A_GIMME, 0); class_addmethod(bng_class, (t_method)bng_label_font, gensym("label_font"), A_GIMME, 0); class_addmethod(bng_class, (t_method)bng_init, gensym("init"), A_FLOAT, 0); - if(!iemgui_key_sym) - iemgui_key_sym = gensym("#keyname");
Krzysztof
btw, do you plan to make pasting/duplication undoable?
On Wed, Nov 06, 2002 at 04:48:43PM +0100, Krzysztof Czaja wrote:
hi Miller,
two minor fixes, one in g_text.c (filtering out modifiers)
...
Krzysztof
Thanks as always.
btw, do you plan to make pasting/duplication undoable?
yep, I just forgot... will fix.
cheers Miller
i'm getting some compile errors on my redhat 8 box:
make[1]: Leaving directory `/home/joschi/New/pd-0.36-test2/extra/expr~' cd ../extra/fiddle~;make make[1]: Entering directory `/home/joschi/New/pd-0.36-test2/extra/fiddle~' cc -DPD -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -I../../src -o fiddle~.o -c fiddle~.c cc1: warnings being treated as errors fiddle~.c: In function `sigfiddle_doit': fiddle~.c:696: warning: declaration of `index' shadows a global declaration <built-in>:0: warning: shadowed declaration is here fiddle~.c:1635:14: multi-line string literals are deprecated make[1]: *** [fiddle~.pd_linux] Error 1 make[1]: Leaving directory `/home/joschi/New/pd-0.36-test2/extra/fiddle~' make: *** [externs] Error 2
---
i changed the local definition of index to idx, and removed the wrapped line on 1635 and it compiles.
___________________________________________________ Josh .. Yoshi .. Joschi .. http://mp3.com/vitriolix