ncselector_create: fix base_egc fuckup #302

This commit is contained in:
nick black 2020-01-31 00:02:00 -05:00
parent 6a4cfcde95
commit 99b79cbf4f
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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;
}