mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00:00
direct mode unit test fix for sgr0 #1344
This commit is contained in:
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…
Reference in New Issue
Block a user