From b245c8191cd8e3d26149c280b903a8e750afe4c9 Mon Sep 17 00:00:00 2001 From: nick black Date: Tue, 27 Oct 2020 14:24:00 -0400 Subject: [PATCH] notcurses_init(): only warn on unknown options --- src/lib/notcurses.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/notcurses.c b/src/lib/notcurses.c index 879a789ce..63be14fc3 100644 --- a/src/lib/notcurses.c +++ b/src/lib/notcurses.c @@ -894,8 +894,7 @@ notcurses* notcurses_init(const notcurses_options* opts, FILE* outfp){ return NULL; } if(opts->flags >= (NCOPTION_NO_FONT_CHANGES << 1u)){ - fprintf(stderr, "Provided an illegal Notcurses option, refusing to start\n"); - return NULL; + fprintf(stderr, "Warning: unknown Notcurses options %016lx\n", opts->flags); } notcurses* ret = malloc(sizeof(*ret)); if(ret == NULL){