diff --git a/src/poc/sgr.c b/src/poc/sgr.c index 4ce4e7345..4d42f8a98 100644 --- a/src/poc/sgr.c +++ b/src/poc/sgr.c @@ -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");