From: Christophe CURIS <christophe.cu...@free.fr> IM_MAGICK is not a file format, and in the current implementation it is a special case for handling IM_UNKNOWN. --- wrlib/imgformat.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/wrlib/imgformat.h b/wrlib/imgformat.h index 0a44009..ea80e56 100644 --- a/wrlib/imgformat.h +++ b/wrlib/imgformat.h @@ -39,13 +39,12 @@ typedef enum { IM_PPM = 4, IM_JPEG = 5, IM_GIF = 6, - IM_WEBP = 7, - IM_MAGICK = 8 + IM_WEBP = 7 } WRImgFormat; /* How many image types we have. */ /* Increase this when adding new image types! */ -#define IM_TYPES 8 +#define IM_TYPES 7 /* * Function for Loading in a specific format -- 1.9.2 -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.