ncmenu: logerror() on failure

This commit is contained in:
nick black 2020-11-18 05:39:11 -05:00
parent 7fa89b45da
commit 27732cc7b6
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -351,6 +351,7 @@ ncmenu* ncmenu_create(ncplane* n, const ncmenu_options* opts){
}
free(ret);
}
logerror(n->nc, "Error creating ncmenu");
return NULL;
}