From 051f6643a61acfe69bfa6228ebd1fa53d13322e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Fri, 23 Dec 2022 15:23:37 +0800 Subject: [PATCH] Image: fix build --- src/logo/image/image.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/logo/image/image.c b/src/logo/image/image.c index f34738669..5c363506f 100644 --- a/src/logo/image/image.c +++ b/src/logo/image/image.c @@ -735,7 +735,7 @@ static bool printImageIfExistsSlowPath(FFinstance* instance, FFLogoType type) case FF_LOGO_IMAGE_RESULT_RUN_ERROR: fputs("Logo: Failed to load / convert the image source\n", stderr); return false; - default + default: return true; } } @@ -770,7 +770,7 @@ bool ffLogoPrintImageIfExists(FFinstance* instance, FFLogoType type) #endif #if defined(FF_HAVE_IMAGEMAGICK7) || defined(FF_HAVE_IMAGEMAGICK6) - return printImageIfExistsSlowPath() + return printImageIfExistsSlowPath(instance, type); #else fputs("Logo: Fastfetch was built without ImageMagick support\n", stderr); return false;