From 99b79cbf4f858569954b978c586bc87a953ff6f9 Mon Sep 17 00:00:00 2001 From: nick black Date: Fri, 31 Jan 2020 00:02:00 -0500 Subject: [PATCH] ncselector_create: fix base_egc fuckup #302 --- CMakeLists.txt | 2 +- src/lib/selector.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d35e1f66..2db50b258 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.14) -project(notcurses VERSION 1.1.2 +project(notcurses VERSION 1.1.3 DESCRIPTION "UI for modern terminal emulators" HOMEPAGE_URL "https://nick-black.com/dankwiki/index.php/notcurses" LANGUAGES C CXX) diff --git a/src/lib/selector.c b/src/lib/selector.c index 1f6b44b3e..727abbc4a 100644 --- a/src/lib/selector.c +++ b/src/lib/selector.c @@ -170,7 +170,7 @@ ncselector* ncselector_create(ncplane* n, int y, int x, const selector_options* goto freeitems; } if(ncplane_set_base(ns->ncp, opts->bgchannels, 0, - opts->base_egc ? opts->base_egc : "")){ + opts->base_egc ? opts->base_egc : "") < 0){ ncplane_destroy(ns->ncp); goto freeitems; }