diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-10-09 16:41:04 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-10-09 16:41:04 +0000 |
commit | e1fc51c3a1d944193032d8bb1d95741d090b6d3b (patch) | |
tree | 7a2121c73a5acb69a080e73ad8e3b50cc3670616 /pd/src/g_text.c | |
parent | 21c068f1916330e90f814bed461fe0821d1665ec (diff) |
checked in pd-0.43-1test4.src.tar.gz
svn path=/trunk/; revision=15558
Diffstat (limited to 'pd/src/g_text.c')
-rw-r--r-- | pd/src/g_text.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pd/src/g_text.c b/pd/src/g_text.c index a6e50491..d30b2ac9 100644 --- a/pd/src/g_text.c +++ b/pd/src/g_text.c @@ -170,6 +170,8 @@ static void canvas_howputnew(t_canvas *x, int *connectp, int *xpixp, int *ypixp, else { glist_getnextxy(x, xpixp, ypixp); + *xpixp -= 3; + *ypixp -= 3; glist_noselect(x); } *connectp = connectme; @@ -1371,10 +1373,10 @@ void text_setto(t_text *x, t_glist *glist, char *buf, int bufsize) int xwas = x->te_xpix, ywas = x->te_ypix; glist_delete(glist, &x->te_g); canvas_objtext(glist, xwas, ywas, 0, b); + canvas_restoreconnections(glist_getcanvas(glist)); /* if it's an abstraction loadbang it here */ if (newest && pd_class(newest) == canvas_class) canvas_loadbang((t_canvas *)newest); - canvas_restoreconnections(glist_getcanvas(glist)); } /* if we made a new "pd" or changed a window name, update window list */ |