From 27732cc7b6e81a51240edad577a1d1db64756aa3 Mon Sep 17 00:00:00 2001 From: nick black Date: Wed, 18 Nov 2020 05:39:11 -0500 Subject: [PATCH] ncmenu: logerror() on failure --- src/lib/menu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/menu.c b/src/lib/menu.c index 77d4eafa4..87f2f4901 100644 --- a/src/lib/menu.c +++ b/src/lib/menu.c @@ -351,6 +351,7 @@ ncmenu* ncmenu_create(ncplane* n, const ncmenu_options* opts){ } free(ret); } + logerror(n->nc, "Error creating ncmenu"); return NULL; }