ncdirect_clear(): don't deref null clear

pull/424/head
nick black 4 years ago
parent 0a1f36cbfa
commit fddff356a4
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -968,7 +968,7 @@ err:
int ncdirect_clear(ncdirect* nc){
if(!nc->clear){
// FIXME scroll output off the screen
return -1; // FIXME scroll output off the screen
}
return term_emit("clear", nc->clear, nc->ttyfp, true);
}

Loading…
Cancel
Save