From 94b7c52ac81ee91e905bbe8f739e1f8b841f6b8b Mon Sep 17 00:00:00 2001 From: nick black Date: Wed, 11 Aug 2021 14:43:13 -0400 Subject: [PATCH] fbcon_scroll: actually work --- src/lib/linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/linux.c b/src/lib/linux.c index bf38ff336..b3ad0c7d5 100644 --- a/src/lib/linux.c +++ b/src/lib/linux.c @@ -193,7 +193,7 @@ int fbcon_draw(const tinfo* ti, const struct ncpile *p, sprixel* s, fbuf* f, int } void fbcon_scroll(const struct ncpile* p, tinfo* ti, int rows){ - if(ti->cellpixy){ + if(ti->cellpixy < 1){ return; } int totalrows = ti->cellpixy * p->dimy;