mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 16:26:39 +01:00
Fix build when ImageMagick 6 enabled
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#include <magick/MagickCore.h>
|
||||
|
||||
static FF_LIBRARY_SYMBOL(ResizeImage);
|
||||
static FF_LIBRARY_SYMBOL(WriteImage)
|
||||
static FF_LIBRARY_SYMBOL(WriteImage);
|
||||
|
||||
static void* logoResizeIM6(const void* image, size_t width, size_t height, void* exceptionInfo)
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include <MagickCore/MagickCore.h>
|
||||
|
||||
static FF_LIBRARY_SYMBOL(ResizeImage);
|
||||
static FF_LIBRARY_SYMBOL(WriteImage)
|
||||
static FF_LIBRARY_SYMBOL(WriteImage);
|
||||
|
||||
static void* logoResizeIM7(const void* image, size_t width, size_t height, void* exceptionInfo)
|
||||
{
|
||||
|
||||
@@ -123,7 +123,7 @@ bool ffLogoPrintSixelIfExists(FFinstance* instance)
|
||||
#endif
|
||||
|
||||
#ifdef FF_HAVE_IMAGEMAGICK6
|
||||
return ffLogoPrintSixelIM6(instance) == FF_LOGO_SIXEL_RESULT_SUCCESS
|
||||
return ffLogoPrintSixelIM6(instance) == FF_LOGO_SIXEL_RESULT_SUCCESS;
|
||||
#endif
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user