sgr poc: don't put critical logic in assert() #624

pull/632/head
nick black 4 years ago
parent 4ab0e67155
commit f9f76046d5
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -64,7 +64,9 @@ int main(int argc, char** argv){
}
cols += i;
i = putp(tiparm(sgr, 0, 0, 0, 0, 0, 0, 0, 0, 0));
assert(OK == i);
if(i != OK){
return EXIT_FAILURE;
}
pivot = pivot_on(pivot, sgrs, sgrcount);
if(cols >= 60){ // FIXME
printf("\n");

Loading…
Cancel
Save