From 6cadea31388cdf7e15c2b29308036fbb1d98cf4a Mon Sep 17 00:00:00 2001 From: nick black Date: Mon, 1 Jun 2020 17:00:50 -0400 Subject: [PATCH] outro: keep riser on top --- src/demo/outro.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/demo/outro.c b/src/demo/outro.c index b058a5af6..b9c936066 100644 --- a/src/demo/outro.c +++ b/src/demo/outro.c @@ -41,11 +41,10 @@ videothread(void* vnc){ .scaling = NCSCALE_STRETCH, }; int three = 3; - struct ncplane* globeplane; - if((globeplane = ncvisual_render(nc, ncv, &vopts)) == NULL){ + if((vopts.n = ncvisual_render(nc, ncv, &vopts)) == NULL){ return NULL; } - ncplane_move_below(globeplane, ncp); + ncplane_move_below(vopts.n, ncp); struct timespec fade; timespec_mul(&demodelay, 2, &fade); demo_render(nc);