commit 2991f3c6640b81624ff325dfebcabb04e6b363a8
parent 2fd92c56b93639115b8029faad33d27400740bb3
Author: Rob King <jking@deadpixi.com>
Date: Mon, 16 Apr 2018 21:12:44 -0500
Initialize the pointer.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/mtm.c b/mtm.c
@@ -410,6 +410,7 @@ ENDHANDLER
static void
setupevents(NODE *n)
{
+ n->vp.p = n;
vtparser_onevent(&n->vp, VTPARSER_CONTROL, 0x05, ack);
vtparser_onevent(&n->vp, VTPARSER_CONTROL, 0x07, bell);
vtparser_onevent(&n->vp, VTPARSER_CONTROL, 0x08, cub);