From: NeilBrown Date: Wed, 25 Nov 2015 23:21:11 +0000 (+1100) Subject: Render-attach functions no-longer need the pane_point. X-Git-Tag: lca2016~222 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=b8ff259388ab66b2c5137678815b52c63c6ca818;p=edlib.git Render-attach functions no-longer need the pane_point. So discard it. Signed-off-by: NeilBrown --- diff --git a/core-pane.c b/core-pane.c index 719f80c3..3a8f3f76 100644 --- a/core-pane.c +++ b/core-pane.c @@ -399,7 +399,6 @@ struct pane *render_attach(char *name, struct pane *parent) sprintf(buf, "render-%s-attach", name); ci.key = buf; ci.focus = parent; - ci.pointp = pane_point(parent); ret = key_lookup(pane2ed(parent)->commands, &ci); if (ret) return ci.focus; diff --git a/render-complete.c b/render-complete.c index 6ee3586e..75c186d2 100644 --- a/render-complete.c +++ b/render-complete.c @@ -139,7 +139,6 @@ DEF_CMD(complete_clone) struct pane *parent = ci->focus; struct pane *p = ci->home, *c; - ci->pointp = pane_point(parent); complete_attach.func(ci); c = pane_child(p); if (c) diff --git a/render-lines.c b/render-lines.c index 1ca8d447..bbc4570d 100644 --- a/render-lines.c +++ b/render-lines.c @@ -912,7 +912,6 @@ DEF_CMD(render_lines_clone) struct pane *parent = ci->focus; struct pane *p = ci->home, *c; - ci->pointp = pane_point(parent); render_lines_attach.func(ci); c = pane_child(p); if (c)