mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
fix up DenyControlASCII test to admit NUL
This commit is contained in:
parent
6ba67a6f21
commit
cbd3483010
@ -993,7 +993,7 @@ TEST_CASE("Plane") {
|
||||
c = -1;
|
||||
do{
|
||||
++c;
|
||||
if(!isprint(c)){
|
||||
if(c && !isprint(c)){
|
||||
CHECK(0 > ncplane_putchar_yx(n_, 0, 0, c));
|
||||
}else{
|
||||
CHECK(1 == ncplane_putchar_yx(n_, 0, 0, c));
|
||||
|
Loading…
Reference in New Issue
Block a user