From 63e8d117dd49728037963b765a4ccbc490c86c0a Mon Sep 17 00:00:00 2001 From: nick black Date: Thu, 17 Jun 2021 18:03:56 -0400 Subject: [PATCH] null media implementation: adapt to new capabilities struct #1768 --- src/media/none.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/media/none.c b/src/media/none.c index 68e4e0b7e..71c7b40d5 100644 --- a/src/media/none.c +++ b/src/media/none.c @@ -6,7 +6,7 @@ static void printbanner(const notcurses* nc){ - term_fg_palindex(nc, stderr, nc->tcache.colors <= 88 ? 1 % nc->tcache.colors : 0xcb); + term_fg_palindex(nc, stderr, nc->tcache.caps.colors <= 88 ? 1 : 0xcb); fprintf(stderr, "\n Warning! Notcurses was built without multimedia support.\n"); }