From b7dc102eb854f0ccb94d1d28a460465c81c07431 Mon Sep 17 00:00:00 2001 From: nick black Date: Sun, 13 Sep 2020 15:07:09 -0400 Subject: [PATCH] reel: don't breech bottom border #1010 --- src/demo/reel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/demo/reel.c b/src/demo/reel.c index cb3d64fbd..19af8d3ac 100644 --- a/src/demo/reel.c +++ b/src/demo/reel.c @@ -96,7 +96,7 @@ drawcb(struct nctablet* t, bool drawfromtop){ pthread_mutex_lock(&tctx->lock); unsigned rgb = tctx->rgb; int ll; - int maxy = ncplane_dim_y(p) - 1; + int maxy = ncplane_dim_y(p); ll = tabletdraw(p, maxy, tctx, rgb); ncplane_set_fg_rgb(p, 242, 242, 242); if(ll){