From cc399b471fac12a593a8ab113799d67177d91d35 Mon Sep 17 00:00:00 2001 From: Joshix Date: Sun, 3 Oct 2021 19:53:32 +0200 Subject: [PATCH] use recursion to fix missing replacement --- uwufetch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uwufetch.c b/uwufetch.c index 068d48c..1acf975 100644 --- a/uwufetch.c +++ b/uwufetch.c @@ -738,8 +738,8 @@ void replace_ignorecase(char *original, char *search, char *replacer) original[0] = 0; strcpy(original, buffer); - replace(original, search, replacer); - return replace(original, search, replacer); + + return replace_ignorecase(original, search, replacer); } void print_ascii()