X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=images%2Fimage.c;h=c741d3960c60301d61c97ac580402db36e146ce5;hb=003ca21e49148941c07f69c87e2553f660913b65;hp=26445aa34835934fa73545f980fb4b6d28b92f0e;hpb=f784f9b6365d92dac7b10ab2e589d02c7445e987;p=libucw.git diff --git a/images/image.c b/images/image.c index 26445aa3..c741d396 100644 --- a/images/image.c +++ b/images/image.c @@ -9,8 +9,8 @@ #undef LOCAL_DEBUG -#include "lib/lib.h" -#include "lib/mempool.h" +#include "ucw/lib.h" +#include "ucw/mempool.h" #include "images/images.h" #include "images/error.h" #include "images/color.h" @@ -41,7 +41,7 @@ image_new(struct image_context *ctx, uns cols, uns rows, uns flags, struct mempo pixel_size = channels = flags_to_pixel_size(flags); if (!channels || channels > 4) { - IMAGE_ERROR(ctx, IMAGE_ERROR_INVALID_PIXEL_FORMAT, "Invalid number of color channels"); + IMAGE_ERROR(ctx, IMAGE_ERROR_INVALID_PIXEL_FORMAT, "Invalid number of color channels (%u)", channels); return NULL; } switch (channels)