mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-06 03:20:26 +00:00
notcurses_init(): only warn on unknown options
This commit is contained in:
parent
c7adde423a
commit
b245c8191c
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user