mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-18 03:25:55 +00:00
ncmenu: logerror() on failure
This commit is contained in:
parent
7fa89b45da
commit
27732cc7b6
@ -351,6 +351,7 @@ ncmenu* ncmenu_create(ncplane* n, const ncmenu_options* opts){
|
||||
}
|
||||
free(ret);
|
||||
}
|
||||
logerror(n->nc, "Error creating ncmenu");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user