From 49b437bc337cdda7b733b8103d138540f36cf983 Mon Sep 17 00:00:00 2001 From: Dr-Noob Date: Tue, 10 Aug 2021 13:16:11 +0200 Subject: [PATCH] [v0.99] Do not print logo with background color if logo is not designed to --- src/common/printer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/printer.c b/src/common/printer.c index 3a7026f..2c4e4b6 100644 --- a/src/common/printer.c +++ b/src/common/printer.c @@ -285,8 +285,8 @@ void choose_ascii_art(struct ascii* art, struct color** cs, struct terminal* ter if(cs != NULL) { strcpy(logo->color_text[0], rgb_to_ansi(cs[2], false, true)); strcpy(logo->color_text[1], rgb_to_ansi(cs[3], false, true)); - strcpy(logo->color_ascii[0], rgb_to_ansi(cs[0], true, true)); - strcpy(logo->color_ascii[1], rgb_to_ansi(cs[1], true, true)); + strcpy(logo->color_ascii[0], rgb_to_ansi(cs[0], logo->replace_blocks, true)); + strcpy(logo->color_ascii[1], rgb_to_ansi(cs[1], logo->replace_blocks, true)); } strcpy(art->reset, COLOR_RESET); break;