direct mode unit test fix for sgr0 #1344

pull/1415/head
nick black 4 years ago
parent a8aec8d8d1
commit 9b15854ef4

@ -15,7 +15,7 @@ TEST_CASE("DirectMode") {
}
printf("DirectMode *italic*!\n");
fflush(stdout);
if(nc_->tcache.sgr){
if(nc_->tcache.sgr0){
CHECK(0 == ncdirect_off_styles(nc_, NCSTYLE_ITALIC));
}else{
CHECK(0 != ncdirect_off_styles(nc_, NCSTYLE_ITALIC));

Loading…
Cancel
Save