diff options
-rw-r--r-- | popup/makefile | 3 | ||||
-rw-r--r-- | popup/popup.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/popup/makefile b/popup/makefile index b70f5c3..42f69b6 100644 --- a/popup/makefile +++ b/popup/makefile @@ -59,8 +59,7 @@ LINUXINCLUDE = -I../../src -I../../../pd/src .c.pd_linux: cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c - ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm - strip --strip-unneeded $*.pd_linux + ld -shared -o $*.pd_linux $*.o -lc -lm rm $*.o # ----------------------- Mac OSX ----------------------- diff --git a/popup/popup.c b/popup/popup.c index 3529921..c2eb47b 100644 --- a/popup/popup.c +++ b/popup/popup.c @@ -325,6 +325,10 @@ static void popup_vis(t_gobj *z, t_glist *glist, int vis) DEBUG(post("vis: %d",vis);) if (vis) { #ifdef PD_MINOR_VERSION + /* JMZ: create an editor if there is none; + * on 0.42 there might be none IF [popup] is contained within a gop + */ + if (!glist->gl_editor) canvas_create_editor(glist); y = (t_rtext *) rtext_new(glist, (t_text *)z); #else y = (t_rtext *) rtext_new(glist, (t_text *)z,0,0); |