From 95e57a69766065a6a8b186a4087eafe6449f3732 Mon Sep 17 00:00:00 2001 From: Angel Jumbo Date: Mon, 17 Oct 2022 11:10:04 -0500 Subject: [PATCH] A better -F option --- lavat.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/lavat.c b/lavat.c index 934cd64..048c3c9 100644 --- a/lavat.c +++ b/lavat.c @@ -107,24 +107,12 @@ int main(int argc, char *argv[]) { } } else { if (sum[0] > radius) { - if (sum[1] > radius) { - tb_printf(i, j, color | TB_BOLD, 0, custom); - } else { - tb_printf(i, j, color | TB_BOLD, 0, custom); - } - } else if (sum[1] > radius) { tb_printf(i, j, color | TB_BOLD, 0, custom); } if (rim) { if (sum[0] > innerRadius) { - if (sum[1] > innerRadius) { - tb_printf(i, j, color, 0, custom); - } else { - tb_printf(i, j, color | TB_BOLD, color, custom); - } - } else if (sum[1] > innerRadius) { - tb_printf(i, j, color | TB_BOLD, color, custom); + tb_printf(i, j, color, 0, custom); } } }